Question d’entretien chez Ping Identity

find m largest element in given array