Binary search is a fast algorithm for finding the position of a value within a sorted array. It reflects the way people intuitively “guess numbers” by repeatedly asking “Is your number bigger or smaller than x?”
- v1.0: Initial version
- v1.1: Update the IDEA logo
Initially published 2018-02-14.