Aly Aly - 4 months ago 39
Java Question

Combinatoric 'N choose R' in java math?

Is there a built in method in a java library that can compute 'N choose R' for any N, R?

Answer

The apache-commons "Math" supports this: Math3.Utils.CombinatoricsUtils