Find the Occurence of Digit x in range [L,R] includeing

Revision en1, by hackerscode, 2020-08-22 18:37:14

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..

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English hackerscode 2020-08-22 18:37:14 243 Initial revision (published)