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.
filter give only the matching chars then length gives how many chars are left. if total matching chars are 5, filter keeps 5 chars and remove all not matching chars, then length give the total length of remaining chars.
did exactly same!
Очень круто бро!!
Nice! I like it!
This comment is hidden because it contains spoiler information about the solution
Need random test in Javascript
I think this kata should be 7 kyu
I know. I've updated the random tests yesterday to run more times, closer to the time limit. This algorithm now fails.
Well, then your tests should be catching them ;-)
This algorithm will not always find the largest palindrome.