Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Nice one, best solution.
Indeed the top-voted solution works now for me as well.
Thanks for trying out yourself, akar-0. If have had it in the past that close calls could be circumvented by trying again (i.e. being more "lucky" with random generator), but that result strikes me.
I've just tried again the top voted solution, it passed the attempt tests in ≃ 1.5 seconds. My original solution in Python passes in ≃ 0.5 seconds. No idea what's going on here.
Hi Akar-0, I encountered a timeout and didnt check the solution. Maybe it is wrong as well.
The top voted solution fails because of recursion error (not too slow). I don't know what should be done, there must have been at some moment an update in the tests or the framework that explains this change. 4 months ago it was not the case, and no change appears in the history of versions for Python.
Not working any more due to timeout.
I confirm. Even accepted solutions are too slow.
Python: Tried approach using DP, too slow. Forfeited. Tried best solution (recursion) from resolved katas: also too slow.
Recommendation: Use mathematics first to establish and solve equations.
What the...
Not sure whether flat waves are desired....
65
5
34
5
65
6
5454
4
5
1
4
2
Too easy.