[LeetCode]440. K-th Smallest in Lexicographical Order

https://leetcode.com/problems/k-th-smallest-in-lexicographical-order/#/description java 求字典序的第k個數code 十叉樹,好比10 ~ 20在這一層有10個數,若是20小於n,那麼再找第三層100 ~ 200,每層step就min(n + 1, n2) - n1ip public class Solution
相關文章
相關標籤/搜索