Yeah thanks Sandeep, theres an error in example...it should be 
5436827.However there is no need to sort.

On Friday, December 14, 2012 11:56:16 AM UTC+5:30, tapan rathi wrote:
>
> For a given number, find the next greatest number which is just greater 
> than previous one and made up of same digits. 

-- 


Reply via email to