Test interview question

return kth max number in array