Domanda di colloquio di Starkey

Explain an algorithm to compute the mode of an array.