Java Playground - Longest palindrome: Online Interpreter, Compiler & Editor | Sololearn