title: Finding even numbers in an array
body: <blockquote>
    <p>Given an array of length n containing at most e even numbers and a
    function isEven that returns true if the input is even and false
    otherwise, write a function that prints all the even numbers in the
    array using the fewest number of calls to isEven.</p>
  </blockquote>
  
  <p>The only thing I could think was to do a linear search and stop after I hit the end of the array or found e even numbers. Can someone please tell me a better way?</p>