Microsoft interview question

code question find the kth largest number