Java Playground - [challenge] Longest sequence: Online Interpreter, Compiler & Editor | Sololearn