This approach is in O(n) i tried to find better approcah // https://www.geeksforgeeks.org/find-the-occurrences-of-y-in-the-range-of-x/
but I cannt find any approch please suggest me..
Find the Occurence of Digit x in range [L,R] includeing
This approach is in O(n) i tried to find better approcah // https://www.geeksforgeeks.org/find-the-occurrences-of-y-in-the-range-of-x/
but I cannt find any approch please suggest me..