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.
This comment is hidden because it contains spoiler information about the solution
in the ASCII table you will find '\0' is equal to the demical '0'.
*buffer = 0; is equivalent to *buffer = '\0'
IMHO This Kata should fix the tests or fix the Kata itself.
It is not a good practice to use global variables especially
when you are new to programming.