Write a function to find out longest palindrome in a given string.
Click for Solution
[Insert Code]