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 string you think is the same as expected is no the same as expected, it just seems to be the same as expected. Due to an off-by-one bug in your solution, it has a stray
\0'
in the middle. Change the bottom of your function to:... and you will see that first space is not a space but
\0
.