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