Given a numeric keypad, a value n, and a starting digit, find the total number of numbers of length n that can be formed by moving only to adjacent digits (up, down, left, right).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.