previous
|
start
|
next
Answers
On average, you'd make 500,000 comparisons.
The search method returns the index at which the match occurs, not the data stored at that location.
previous
|
start
|
next