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

permutation_palindrome?("gikig") == true

permutation_palindrome?("ookvk") == true

permutation_palindrome?("sows") == false

permutation_palindrome?("tami") == false