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.
Technically, it is not, but the longest palindrome substring within that string is a string of length 1. In that case, any random letter in the original string is considered a palindrome on it's own.
https://en.wikipedia.org/wiki/Palindrome
A palidrome is a sequence of letter, numbers, etc that reads the same forwards as it does backwards. Therefore a 1 letter string can be said to be a "palindrome" because it reads the same if all the letters are reversed (in this case just one letter). From this we can deduct that any string will contain, at a minimum, a palindrome with a length of 1.
I don't understand why "abcdefghba" is a palindrome at all, and with "length 1" ?