how to find ncr 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:20 UTC
Read the original article Hit count: 333

Filed under:
|
|

I need to find the value of ncr- 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 C 42

© Stack Overflow or respective owner

Related posts about java

Related posts about homework