KLA Interview Question

find the Longest Palindrome length