Macy's Interview Question

Longest palindromic substring from a string