matthewsamuel95 / ACM-ICPC-Algorithms

Algorithms used in Competitive Programming
2.07k stars 1.26k forks source link

Add calculation of binomial coefficients #692

Closed MatheusMiranda closed 5 years ago

MatheusMiranda commented 5 years ago

Computes the lines of Pascal's triangle. Pascal's triangle gives us result of binom(n,p), which is equivalent to combination(n,p).