Kth Largest Element in an Array — Heap / Priority Queue

Given a list of marks, report the mark at a requested rank counting from the top, with equal marks each counted separately.

Heap / Priority Queue · Medium

More in Heap / Priority Queue

All algorithm problems