DEV Community

Discussion on: How to determine whether a given string can be rearranged into a palindrome?

Collapse
 
marcosvafilho profile image
Marcos Filho

You can use .chars instead of .split(""), which is a little more readable in Ruby.