EPAM Systems Interview Question

Find the k-th maximum element in an array.