← Accenture questions
CodingReported in a candidate post, Dec 2023

Next smallest number with distinct digits

Filed under Accenture

Given an integer, find the next smallest number strictly greater than the given number such that all of its digits are distinct.

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 Accenture questions

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