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