
Interesting, How to find next greater number with same digits
Given a number N, find the smallest number that has same set of digits as N and is greater than N. If theres no number greater than N by same same set of digits...
Given a number N, find the smallest number that has same set of digits as N and is greater than N. If theres no number greater than N by same same set of digits...