Aly Aly - 7 months ago 78
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