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.
I forget how simple slices are, they can do so much yet I forget how great they are all the time.
this makes me feel funny
actually, #digit and #sum are two different methods, chained together. one of the beautiful things about Ruby!
i never knew of this #digit method, this is awesome!
Если честно, я совсем ничего не понял. Ну, да ладно может со временем разберусь.
This comment is hidden because it contains spoiler information about the solution
Didn't get what this &-operator was doing. Can someone explain this to me?
upd Got it
very clever!
This comment is hidden because it contains spoiler information about the solution
Very clean. I should have thought of this.
This means exactly: "When multiple hashtag occurrences are found, delete only the first." ;)
This comment is hidden because it contains spoiler information about the solution
May I ask? What does the 1 do in this case?
Hmm, which edge cases that fall into the category "positive, non-zero digits"?
There are edge cases where this doesn't work.
Loading more items...