Leetcode journey - Question 967 - Numbers With Same Consecutive Differences
Problem:
Q967. Numbers With Same Consecutive Differences
Return all non-negative integers of length n such that the absolute difference between every two consecutive digits is k.
Note that every number in the answer must not have leading zeros. For ...
codesoup.ml5 min read
Prativa Chakraborty
Very simple explanation.