previous | start | next

Answers

  1. On average, you'd make 500,000 comparisons.
  2. The search method returns the index at which the match occurs, not the data stored at that location.


previous | start | next