Skip to main content

Binary search

A search algorithm used to find the position of a target value within a sorted array. It works by repeatedly dividing the search range in half until the target is found or the search range becomes empty. This method is efficient and has a time complexity of O(log n), making it faster than linear search for large datasets.
Binary search is THE search algorithm
by ILuvBinary January 31, 2024
mugGet the Binary search mug.

Share this definition

Sign in to vote

We'll email you a link to sign in instantly.

Or

Check your email

We sent a link to

Open your email