Pergunta de entrevista da empresa PayPal

Find longest palindrome formed by removing or shuffling chars from string