Index

Module 06 · DSAClinic: search, trees, graphs and heaps

Clinic #19 - Kth Largest Element in an Array

Pattern: Heap (size-k) · LC 215

Kth Largest Element
Kth Largest Element · Open board

Ek chhota sa board, jismein numbers ek arrangement mein pin hote jaate hain, top-5 wale notice-board jaisa, aur upar wali jagah hamesha sabse chhoti value rakhti hai. Yehi ulta trick is lesson ka core hai.

Before you start. Bas itna pata ho ki array numbers ki list hai, har number ki apni jagah (index) hoti hai, aur sort karna matlab chhote se bade order mein lagana. Baaki jo naya lagega - heap, root, Big-O - lesson ke andar hi dikhaya jayega.

Continue reading with a plan

The first three lessons of every track are free. This lesson is included with a plan, which unlocks every lesson, board, video, lab and paper for one price.

View plans →Already a member? Sign in

Review DSA →

Saved in this browser, and to your account when you sign in.