problemscpp
A collection of my answers to algorithm problems in c++.
| 函数
leetcode::k_th_smallest_in_lexicographical_order 命名空间参考

  1. K-th Smallest in Lexicographical Order
更多...

class  Solution
 

函数

 TEST (k_th_smallest_in_lexicographical_order, case1)
 
 TEST (k_th_smallest_in_lexicographical_order, case2)
 

详细描述

  1. K-th Smallest in Lexicographical Order

函数说明

◆ TEST() [1/2]

leetcode::k_th_smallest_in_lexicographical_order::TEST ( k_th_smallest_in_lexicographical_order  ,
case1   
)

在文件 leetcode_test.cpp2422 行定义.

2422 {
2423 ASSERT_EQ(10, Solution::findKthNumber(13, 2));
2424 }

引用了 leetcode::k_th_smallest_in_lexicographical_order::Solution::findKthNumber().

◆ TEST() [2/2]

leetcode::k_th_smallest_in_lexicographical_order::TEST ( k_th_smallest_in_lexicographical_order  ,
case2   
)

在文件 leetcode_test.cpp2426 行定义.

2426 {
2427 ASSERT_EQ(1, Solution::findKthNumber(1, 1));
2428 }

引用了 leetcode::k_th_smallest_in_lexicographical_order::Solution::findKthNumber().