Concept Flow - Binary Search Iterative Approach
Start with sorted array and target
Set low = 0, high = array_length - 1
While low <= high
Calculate mid = (low + high) / 2
Compare array[mid
Equal
Return
Repeat while loop
Not found
Return -1
This flow shows how binary search narrows down the search range by adjusting low and high pointers until the target is found or the range is empty.
