โ† Amazon questions

Print numbers with unique digits in a range

Filed under Amazon

Given two integers L and R, find all integers in the range [L, R] (inclusive) that have unique digits. A number has unique digits if no digit appears more than once in its decimal representation.

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

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