Kth Smallest Element [Medium]
https://www.interviewbit.com/problems/kth-smallest-element-in-the-array/
Straightforward problem description: Find the k
th smallest element in an array. Easiest approach I could think of is to use a queue. Didn't see a more optimal solution on the platform (InterviewBit) that this question popped up on
Last updated
Was this helpful?