Log in
← All problems

K-th smallest

mediumSorting and searching20 XP

Return the k-th smallest number in nums, counting from 1 (repeats count separately).

Examples

Examples use JSON: true/false/null are True/False/None in Python.

Run examples checks the examples above. Submit also runs 3 hidden tests.