How do we solve Digit DP question where we need to find kth number

Revision en2, by TTMMM, 2019-10-23 12:43:07

When we have question to find a number given a condition between L,R we do fun(R)-fun(L). When we need to find a number with a max number between L,R we maintain 2 tight conditions. What do we do when we need to find kth largest between L,R given a condition? How do i account for that K ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English TTMMM 2019-10-23 12:43:07 2
en1 English TTMMM 2019-10-23 12:42:22 356 Initial revision (published)