โ† Amazon questions

Find the Kth max and Kth min element in an array

Filed under Amazon

The question

Find the Kth maximum and Kth minimum element in an array, discussing sorting approaches and implementing an O(n) solution using heaps.

No write-up yet. Related questions below have one.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.