Microsoft interview question

How to find the kth largest element in an array?