title: How does one find the median of 5 distinct values with 6 comparisons?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/480960/code-to-calculate-median-of-five-in-c-sharp">Code to calculate &ldquo;median of five&rdquo; in C#</a>  </p>
  </blockquote>
  
  
  
  <p>Suppose I have five numbers in a list, say [3,2,1,4,5].</p>
  
  <p>How do I find the median with 6 comparisons?</p>