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.
Couldn't agree more! Best practice is about maintainability not clever looking solutions which are not necessarily more efficient (from most I have seen they are usually awful for performance)
I tried to do this without using strlen for a challenge and to optimise effciency, I believe this will fail if the string ends in say "baa" and the ending string is just "a" if anyone can advise on the change needed please advise.