Pergunta de entrevista da empresa FusionCharts

Some advanced Coding questions, Overlapping problem, Next greater number with same digits