Java Playground - Longest repeating and non-overlapping substring : Online Interpreter, Compiler & Editor | Sololearn