facebook phone interview

given a number and do swap in place to find the nubmer larger than input

for example
input 3424861
output should be 3426148

Comments (6)