Question d’entretien chez Cohesity

Kth largest element in an array. Solved with a heap,