Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 603 Bytes

File metadata and controls

26 lines (15 loc) · 603 Bytes

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