Question d’entretien chez Starkey

Explain an algorithm to compute the mode of an array.