Question d’entretien chez Amazon

How would you select a random element from an array