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.
same as mine
range returns a single integer which is not iterable but enumerate returns an integer and the index
my head bobo
nice
This comment is hidden because it contains spoiler information about the solution
It means that by snydergd's definition and mine, your description of this solution makes it clever as it is efficient, doesn't use obscure language features and can be used in prod. If you feel like this solution is as you described it and is not clever, your definition of clever seems to be a bad definition.
This comment is hidden because it contains spoiler information about the solution
Nice solution. By the way, I have a question - is this solution O(n^2) (one n from loop and another from 'in' operator), or it is more efficient?
what is kind of algorithm used by this solution?
Smart solution. I did not think of this ... I am still too fast on "pythonic" code, using it's language features rather than find a near optimal solution.
Because more beginners vote codes than experts
nice! my solution is very similar, im glad this is high on the list! :D
This comment is hidden because it contains spoiler information about the solution
It's goood
what does this reply even mean
Loading more items...