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
Thanks for explaning that, I wish the person who made the kata would make that clear.
cool :D
No, you got this part wrong. Your formula is not equivalent to the kata formula.
Thank you! Pushing and popping
rsi
when allocating space for new string is essential because this register holds address of input string andmalloc
clears its value.Modified.
I solved C++ version and encountered no special problems with the kata. I think your solution is wrong, and you misinterpret test output somehow. Please read through this FAQ and see if you can find anything useful there, and if not, share your code with us so we could check it.
Hey bro, have you solved the question through loops and slicing? Or have you used some other techniques?