Aly Aly - 1 month ago 8
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