Which module performs binary search on a sorted list in Python?
Correct answer
C. bisect
5 views
C. bisect
5 views
bisect.bisect_left finds an insertion point in O(log n).
Asked in: Python Interview Standard Library
https://docs.python.org/3/library/index.htmlNot sure why the answer is C? Ask here and get an explanation.