hi, when i test combination.py, I found specific case with input large n, r too slow to find combination.
combination(50, 10) <- 10272278170 // too slow
in my opinion, using memoization method, can problem solving (using dictionary)
Can i send PR you?
hi, when i test combination.py, I found specific case with input large n, r too slow to find combination.
combination(50, 10) <- 10272278170 // too slow
in my opinion, using memoization method, can problem solving (using dictionary)
Can i send PR you?