Question d’entretien chez Tripadvisor

Minimize comparisons to find minimum and maximum elements in an array