Aly Aly - 1 year ago 126
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 Source

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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download