Cohesity Interview Question

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