Java Playground - Find prime O(sqrt(n)): Online Interpreter, Compiler & Editor | Sololearn