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.
oh damn ive learned so much from doing this, thx y all
You could do ".digits.reverse" instead of ".to_s.chars" too! :D
You wouldn't need to convert them back to integers later on if you do that.
or .split('')
I re-did the Kata and wrote a solution that has to look at each item in
list
exactly once.This comment is hidden because it contains spoiler information about the solution