Term
What is the mandatory precondition for applying binary search?
Definition
The input sequence must be monotonically ordered (sorted in ascending or descending order). Without order, comparing against the midpoint provides zero information about which half contains the target.