Java Playground - N Queen Problem (with counter): Online Interpreter, Compiler & Editor | Sololearn