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.