Pregunta de entrevista de Apple

Longest palindrome in a substring without using recursion