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 misinterpreted the instructions. I thought we were supposed to get the values from each level, sort them, and then put the levels in order, this way the values in each level of the tree would be sorted as opposed to being in the same order they were in the tree. The examples given and the sample tests did not rule out this interpretation.
Nice. It seems like the first if statement may not catch multiple apostrophes occuring in the middle of the text. What will it return for "Hello ''' there."?