python-coding-interview
python-coding-interview copied to clipboard
Binary Search wrong description
Decrease and Conquer - Binary Search • If it is smaller than the target, move to the left half by setting the right pointer to the position right before the middle position, r = m − 1. • If it is larger than the target, move to the right half by setting the left pointer to the position right after the middle position, l = m + 1.
Fixed it. Please approve my pull request - #23