The algorithm for multinomial coefficients uses recursion. Iterative alternative would be better. (Or we could cheat and increase recursion depth)
The algorithm for multinomial coefficients uses recursion. Iterative alternative would be better. (Or we could cheat and increase recursion depth)