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.
pretty pythonic recursion!
This comment is hidden because it contains spoiler information about the solution
Many people have already solved the kata in Python so the kata works. If your code is not efficient enough or it doesn't work, why not blame yourself instead of the kata?
Going on to downvote all my comments does not prove that you're right, or I'm wrong.
The point here is that, what "you think" doesn't matter, the kata works (as the stats have shown) and you're not doing anything by just disagreeing and claiming it doesn't work. Or: you need to
git gud
.Emm, I use an "in" inside a single loop so it should be O(n**2) right?
Then I need to find a real O(n) to solve the problem...?