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.