Concept Flow - Binary Search as Divide and Conquer
Start with sorted array and target
Set low = 0, high = array_size - 1
Calculate mid = (low + high) / 2
Compare array[mid
Equal
Return mid
Repeat until low > high
Return -1 (not found)
Binary search divides the sorted array into halves, compares the middle element with the target, and narrows the search range until the target is found or the range is empty.
