We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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....
Project Euler #53: Combinatoric selections
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