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

Правка en1, от TTMMM, 2019-10-23 12:42:22

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 ?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский TTMMM 2019-10-23 12:43:07 2
en1 Английский TTMMM 2019-10-23 12:42:22 356 Initial revision (published)