Tripadvisor interview question

Minimize comparisons to find minimum and maximum elements in an array