Find the Nth largest element in an array using max and min heaps
Filed under Times Internet
The question
The candidate was asked for the Nth largest element in an array, using both max-heap and min-heap solutions.
No write-up yet. Related questions below have one.
Related Times Internet questions
Collected from public candidate posts and coding forums. Updated Nov 2026.