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.
Or more relevant would be
[1, 2, 2, 1, 2]
needs to return[2, 1]
.exactly, but what do if input is inn form of list of string,
is slicing is only option we have?
This comment is hidden because it contains spoiler information about the solution
For what I know the first argument is divided by the rest of the argument seperately.