Numbers With Same Consecutive Differences
Return all numbers of length n such that the absolute difference between any two consecutive digits is k.
Return all numbers of length n such that the absolute difference between any two consecutive digits is k.