Check for a Palindrome
EasyGiven a string, write a function that checks if any combination of the string's characters can be rearranged into palindrome.
For example, the string
ararcce
can be rearranged to racecar
, which is palindrome.But the string
bitcoin
has no possible palindrome arrangements.Try it first
Solution
6 Essential Hash Tables Coding Interview Problems
Master Hash Tables by trying the coding challenges below.
- 1.Two sumEasy
- 2.Palindrome CheckEasy
- 3.Cover SetMedium
- 4.Missing numberMedium
- 5.Crypto ExchangeMedium
- 6.Distinct SubarrayHard