Concept Flow - Why Binary Search and What Sorted Order Gives You
Start with sorted array
Set low = 0, high = length-1
Calculate mid = (low + high) / 2
Compare target with array[mid
high=mid-1
Repeat until low > high
Target not found
Binary search repeatedly divides a sorted array to find a target quickly by comparing the middle element and narrowing the search range.
