Write a function that returns all numbers less than or equal to N with the maximum product of digits.
maxProduct(8) ➞ [8] maxProduct(27) ➞ [27] maxProduct(211) ➞ [99, 199] maxProduct(9578) ➞ [8999]
Search for numbers in the range: [0, n].
[0, n]