You are viewing a single comment's thread. Return to all comments →
for solving this problem you have 2 approaches
1 create an array with all the factorials and then just get the value from the array instead of re calculate it over and over again
2 use pascal triangle....
best of luck