how to find n choose r without overflow
- by iamrohitbanga
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