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.
Super easy in C :)
This comment is hidden because it contains spoiler information about the solution
The instructions are not clear.
You should mention what to expect if 1) ending is empty, and 2) ending longer than string.
Only then we can include proper test cases.
Good one! Only a suggestion:
Consider moving the comments of the code to the description of the Kata.
It cleans the code and gives enough info to solve the task.