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.
the question ask you to write a method to find the linges palindrome form the given string
palindrome is if a word is read in reverse string it spells the same
example abba - is same if read in reverse
so if a string is given as "hello world abba, that is kayak"
in here there are 2 palindrome (substring) abba and kayak but the longest one is kayak (length of 5)
so writing a function to find the longest palindrome and return it