Java Playground - next smaller number with same digits: Online Interpreter, Compiler & Editor | Sololearn