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.
The difference is that with the reversed method you get a result that you still need to convert to something so you can use it later on in the code. With the ::-1 method you get a final result that is ready to be used in your code, with this method you get a final result, with the reversed you get a tool to use.
Perfect!
Beautiful, simple and efficient.
Thank you for this! This is what I wanted to do but didn't know how to do, so had to longhand it. This is very neat, thanks for teaching me
Very good job, we learn a lot in this solutions sections.
This is good job!
Oh boi, I really wanted to flex with those one liners the first time I saw them.
Seems like I'm on the right path to get all the girls.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Two weeks on Codewars and I become smarter, hehe
This comment is hidden because it contains spoiler information about the solution
Loading more items...