Binomial coefficient

Revision en1, by Bobek, 2016-10-16 21:30:40

I know how to find Binomial coefficient usign dynamic programming , but in this case I have to store many others binomial coefficients. Could somebody provide me code how to calculate Binomial coefficient using factorization? I know that I have to factorize n! , k! and (n-k)! and the try to reduce it but I don't know how to compute it efficiently

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Bobek 2016-10-16 21:30:40 368 Initial revision (published)