โ† Amazon questions

Find Special Stepping Numbers in a Range

Filed under Amazon

Given two integers l and r, find all stepping numbers within the range [l, r]. A stepping number is an integer where the absolute difference between every adjacent digit is 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 Amazon questions

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