Fundamental Algorithms8 sections · 291 units
Open in CourseQuiz: QuickSelect
Test your understanding
Check Your Understanding
QuickSelect finds the -th smallest element in expected time. Why doesn't it need to fully sort?
- A.After partition, it only recurses into the side containing
- B.It only works on sorted arrays
- C.It uses a heap instead of comparisons
- D.It uses counting sort internally