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 might help streamline your code:
The input will be a lowercase string with no spaces.
I'd malloc the strings thus:(stringLen + 1) * sizeof(char)
. Nonetheless, this code would work if you handle your C-strings correctly.can't tell exactly without seeing your code, but my bet is on whether you allocated memory correctly. you may post your code with proper markdown and a spoiler tag, and I can take a look for you.