Amazon Interview Question

Kth largest elements in an array