how to find n choose r without overflow

Posted by iamrohitbanga on Stack Overflow See other posts from Stack Overflow or by iamrohitbanga
Published on 2010-05-22T21:14:30Z Indexed on 2010/05/22 21:30 UTC
Read the original article Hit count: 298

Filed under:
|

I need to find the value of n choose r- the number of ways of selecting r objects out of n.

if i first find the numerator then the denominator. i get an exception.

i am using java.

how to do it for example for 44 choose 42

© Stack Overflow or respective owner

Related posts about java

Related posts about overflow