Meta interview question

kth largest element in array