Check if N is divisible by a number which is composed of the digits from the set {A, B}
Given three integers N, A and B, the task is to find whether N is divisible by any number that contains only A and B as it's digits. Examples: Input: N = 106, a = 3, b = 5 Output: Yes 106 is divisible by 53 Input: N = 107, a = 3, b = 5 Output: No Approach 1 (Recursive): An efficient solution is to m