Question d’entretien chez EPAM Systems

Find the k-th maximum element in an array.