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
In my opinion, "Don't mutate the origin array" this rule limited many clever solutions, so I think we dont have to follow the rule as soon as the solution is really clever 0^0
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Pythonic! I wrote ugly codes...
Nice solution!
dict
is a built-in function, so maybed
is better.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution