Question d’entretien chez Dell Technologies

Find the most k element in an array