low and high, return all self-divisible numbers from low to high inclusive, in increasing order.low=10, high=30 → [11, 12, 15, 22, 24]
For example, 24 divides by both 2 and 4, while 20 is out because of its zero and 13 because it does not divide by 3.
low=5, high=9 → [5, 6, 7, 8, 9]
A one-digit number always divides by itself, so all of them qualify.
low=101, high=110 → []
Every number from 101 to 110 contains the digit 0, so the answer is empty.
low ≤ high ≤ 10⁴low=10, high=30
[11, 12, 15, 22, 24]
Run checks the first 3 tests in your browser. Submit checks all 81 tests on the server, hidden ones included.