Comment Comment by dwils098 Input: arr = [7, 4, 6, 3, 9, 1] k = 2Output: k’th smallest element in the array is 4Am I missing something... shouldn't the k'th smallest element in this array be 3, given that k=2? parent dwils098 9 years ago
Output: k’th smallest element in the array is 4
Am I missing something... shouldn't the k'th smallest element in this array be 3, given that k=2?