Pregunta de entrevista de Salesforce

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