You are given a number n and a digits_to_be_used array of size k. you have to return smallest multiple of n which can be formed by using digits of digits_to_be_used array.The multiple should not contain equal consecutive digits.
1<=n<=1e5 0<k<=10 0<=digits_to_be_used[i]<=9
Salesforce • Pending
Salesforce • Pending
Salesforce • Pending
Flipkart Grid 8.0 • Pending
Flipkart Grid 8.0 • Pending