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.
Thanks for explainig! I've already figured out that my mistake was to think that each new letter sticks to the end of string
Hey, take a closer look at
string(r) + word
part. Here we are "attaching" letter by letter BEFORE the existing word.Example for "HELLO":
I hope it makes sense:
I really can't figure out where words were reversed?