DictionaryAI

binary search

Short definition from Wiktionary

Noun

  1. A search for a value within a sorted array by repeatedly comparing the target value with the middle element; if they are unequal, the half in which the target cannot lie is eliminated and the comparison is repeated on the remaining half.

We haven’t written up binary search yet: Simple and Standard meanings, examples and a quiz.