Skip to content

Latest commit

 

History

History
6 lines (5 loc) · 204 Bytes

binary-search.md

File metadata and controls

6 lines (5 loc) · 204 Bytes

Algorithms: Binary Search

Features

  • Start with a sorted array or list.
  • Searching starts at the middle. Splits the array in 2.
  • Read is O(log(n)) in the best case, and O(n) on the worst case.