Check if N contains all digits as K in base B
Given three numbers N, K, and B, the task is to check if N contains only K as digits in Base B. Examples: Input: N = 13, B = 3, K = 1 Output: YesExplanation: 13 base 3 is 111 which contain all one's(K). Input: N = 5, B = 2, K = 1 Output: No Explanation:5 base 2 is 101 which doesn't contains all one'