Amazon Interview Question

Write a function that determines the longest palindrome in a given string.