Beispiel #1
0
 def test1(self):
     array = [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
     k = 5
     exp = 5
     sol = Solution()
     res = sol.kth_smallset(array, k)
     self.assertEqual(res, exp)