Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Binary search keeps narrowing down the list until it has the value it's looking for. It's faster than linear search because it discards half the potential matches each time.
# Our code here at the top is unchanged from the previous scripts; we
# just call the load_strings function to load our 100,000 sorted
# names from a file.
from load import load_...
I forgot my password