Concept Flow - Why Binary Search and What Sorted Order Gives You
Start with sorted array
Set low = 0, high = length-1
Calculate mid = Math.floor((low + high) / 2)
Compare target with array[mid
Found
End
Binary search works by repeatedly dividing a sorted array in half to find a target value quickly.