Ruby Playground - Palindrome c++ problem: Online Interpreter, Compiler & Editor | Sololearn