Pregunta de entrevista de Cohesity

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