Stack Bash - Master data structures and algorithms

Check for a Palindrome

Easy
Given 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. 1.Two sumEasy
  2. 2.Palindrome CheckEasy
  3. 3.Cover SetMedium
  4. 4.Missing numberMedium
  5. 5.Crypto ExchangeMedium
  6. 6.Distinct SubarrayHard

Want to confidently pass your next coding interview?

Stack Bash helps new and veteran software engineers master data structures and algorithms for technical interviews.