← Amazon questions

Jumping Numbers

Filed under Amazon · Also reported at BankBazaar, Moonfrog Labs

Given a positive number x, print all Jumping Numbers smaller than or equal to x. A number is called a jumping number if all adjacent digits in it differ by 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.