โ† Adobe questions

Find next greater number with the same set of digits

Filed under Adobe

Given a sequence of digits, find the smallest number strictly greater than the given number using the exact same set of digits. If no such number exists, return -1.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Adobe questions

Collected from public candidate posts and coding forums. Updated Nov 2026.