This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Apply binary search to find optimal solutions by searching over possible answer values instead of array indices.
You've completed the free preview. Subscribe to unlock every lesson in every course.