Solve the 'Longest Palindromic Substring' question