EPAM Systems interview question

Find the k-th maximum element in an array.