title: Finding the maximum and minimum elements using 3n / 2 comparisons?
body: <p>I am trying to design an algorithm that, given a list of n elements, finds the min and max in 3n / 2 comparisons. Any hints on how to do this?</p>