Coding Patterns - Binary search
Sep 25 2025
Binary search is more than just finding an element in a sorted array. Its core principle repeatedly dividing a search space in half and can be extended to a wide variety of problems. By leveraging binary search on answers, monotonic properties, or rotated arrays, we can solve problems that seem unrelated to searching.
Zero to HeroCoding PatternsCoding