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'm OK with that. The test cases never deal with non-ASCII. Palindromes are also colloquially words not symbols or sequences. Good point though!
It doesn't work with non-ASCI strings.
Try this:
Your first 2 points are basically the same but good points on performance. I did this as a race and was not focused on cleverness/best-practices. I slapped this together and didn't optimize after it passed. It's not best-practices.
I did, however, complete this in about 10 minutes. It was fun. I think this was my first CodeWars actually. Good times.
That's really far-far away from "best practices"...