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.
This comment is hidden because it contains spoiler information about the solution
Exactly like my solution.
This comment is hidden because it contains spoiler information about the solution
no point in variable n slice is available in lists too
this is exactly like mine <3
True! Still very creative tho!
I tried this one before and it sent me straight to hell
Note that this is O(n**2) because you take of slice (which copies) nearly as big as the entire string at each iteration.
So doesn't really deserve to be the most "clever" solution, imo.
I really like this solution because it doesn't use the math module and it still remains simple.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Just did this one ! haha we think the same!. Loved it