Binary search
An efficient searching algorithm repeatedly dividing sorted search space in half until finding target or determining absence. Binary search requires sorted data but achieves O(log n) time complexity. Divide-and-conquer approach compares middle elements against targets. Binary search is fundamental to efficient searching in large datasets.
Formula
mid = (low + high) DIV 2
Real World
Google's autocomplete narrows millions of search suggestions almost instantly by repeatedly halving its sorted dictionary, the same principle behind binary search.
Exam Focus
Always state that data must be sorted first; forgetting this prerequisite loses easy marks.
How well did you know this?