Given an array of n integers, find the kth smallest element in the array.
{
"nums": [
7,
10,
4,
3,
20,
15
],
"k": 3
}7{
"nums": [
7,
10,
4,
3,
20,
15
],
"k": 4
}10{
"nums": [
1
],
"k": 1
}1Sign in to Run Code and Submit