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 is my favorite solution because it's way simple. Good job!
Is sorting before uniq, more efficient than the other way around?
array
is not being changed each time. Change each statement toarray = #...
, or lump all those method calls into one statement.I believe that behaviour is limited to uniq!
This comment is hidden because it contains spoiler information about the solution
Can you share the failing code as a spoiler?
This comment is hidden because it contains spoiler information about the solution