Search Rotated Array II
Search a rotated sorted array that may contain repeated values for a target. The visual marks the midpoint, shows which half is sorted, and narrows the range while handling duplicate edges.
Search a rotated sorted array that may contain repeated values for a target. The visual marks the midpoint, shows which half is sorted, and narrows the range while handling duplicate edges.