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.
Why not use recursion?
*dst++ = ' ' means set the character that dst is pointing at to ' ' and then forward the address of dst one character.
It's fun to solve this kata in C and without using loop constructs.
Good one. You just need to free the allocated memory for sx and sy. The caller is responsible for freeing sz - that would be the test suite. In fact, the caller should have allocated the necessary memory for the result too.
Short, concise and easy to read but, if I'm not mistaken, I see 5 loops here where it could be done in one.