Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Is permutation palindrome

Nice to solve before

Instructions

Given a string, return true if the input string is a permutation of palindrome or false if it is not. Permutation means that all letters of the string can be used to create a palindrome.

Palindromes are strings that form the same word if it is reversed.

Challenge | Solution

Examples

permutationPalindrome("gikig") == true

permutationPalindrome("ookvk") == true

permutationPalindrome("sows") == false

permutationPalindrome("tami") == false