Microsoft Interview Question

Find length of longest palindromic string