Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

This comment has been minimized.

Copy link

@newacct newacct commented Apr 26, 2011

A = [1]
binary_search(0, len(A), 1) # returns 1, which is not even a valid index

Guess you're not part of the 10%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment