Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 525 Bytes

File metadata and controls

25 lines (14 loc) · 525 Bytes

Is permutation palindrome

Nice to solve before

Instructions

Given a string, return true if the input string is an a permutation of palindrome or false if it is not.

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