...

/

K-th Smallest in Lexicographical Order

K-th Smallest in Lexicographical Order

Try to solve the K-th Smallest in Lexicographical Order problem.

Statement

Given two integers, n and k, return the kthk^{th} ...