[EASY/MEDIUM] How do I approach this?

I have been given two integers N and K . I have to print all numbers from 0 to N formed by digits 4,5,6 only that are divisible by K in increasing order.

Before asking question, make sure to paste question link.
So, to know if it is from live contest or not.

3 Likes

it was :frowning: