Data Structures and Algorithms ยท Searching and sorting

Binary search

Repeatedly halving a sorted range to find a target in logarithmic time.

Also known as: binary search on sorted array, log-time search.

Start a lesson on Binary search

Learn first

Leads to

Related topics