← Amazon questions

Stepping numbers

Filed under Amazon · Also reported at Flipkart, Swiggy

A stepping number is an integer such that all adjacent digits have an absolute difference of 1. For example, 321 is a stepping number, while 421 is not. Given two integers low and high, find all…

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.