Finally solved with Python. Very proud of myself. Thank you for such interesting kata.
OK. So, I finally solved it in python with dynamic prorgramming and gmpy2 library. But it turned out there are simplier solutions if solved mathematically (facepalm).
Well done! Move on.
In Python there's 50 random tests with values going up to 20k.
How many random tests? I beat 7 random tests maximum.
Loading collection data...
Finally solved with Python. Very proud of myself. Thank you for such interesting kata.
OK. So, I finally solved it in python with dynamic prorgramming and gmpy2 library.
But it turned out there are simplier solutions if solved mathematically (facepalm).
Well done! Move on.
In Python there's 50 random tests with values going up to 20k.
How many random tests? I beat 7 random tests maximum.