Question d’entretien chez Palantir Technologies

Find the max difference in an array

Réponse à la question d'entretien

Utilisateur anonyme

23 nov. 2012

Calculate min and max in theta(n) time, and return max-min in constant time.