Starkey interview question

Explain an algorithm to compute the mode of an array.