OYO interview question

Find the next largest number