Pergunta de entrevista da empresa Salesforce

Write an efficient function that checks whether any permutation of an input string is a palindrome