find_kth_smallest
Finds the kth smallest number in an unsorted list (1-indexed, where k=1 returns the smallest element). (cost: 1 credit)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | integer, required, the position of the desired smallest element (1-indexed) | |
| nums | No | array of numbers, required, the list of numbers to search |