DIY: Palindrome Permutation

Solve the interview question "Palindrome Permutation" in this lesson.

Problem statement

You are given a string, strr. Your task is to find whether or not a permutation of this string is a palindrome. You should return true if such a permutation is possible and false if it is not possible.


The input is a string. The following are examples of input to the function:

// Sample Input 1

// Sample Input 2


The output will either be true or false. The following are examples of the outputs:

// Sample Output 1

// Sample Output 2

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.