Pergunta de entrevista da empresa Teradata

Find the minimum and maximum in an array. Minimize the number of comparisons made in finding both.