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.
I came to say the same; better have one more variable for readability. Also, adding a comment to say why they're subtracting 96 would help for future maintenance. I agree its a nice solution.
Bro, you just caused a memory leak with a completely unnecessary allocation; the user can't tell that the string was heap-allocated from the function signature at all.
Bruh, using character literals doesn't cost you anything.
Is there a point of the last two lines?
This comment is hidden because it contains spoiler information about the solution
Bro, this C++ not C. Just use std::vector.
very inefficient space-wise.
Thank you!
Man, this is so beautiful.
This comment is hidden because it contains spoiler information about the solution