What is Binary search?
A search method for sorted data that compares the target with the middle element and halves the search range each time. It finds a value among n items in at most ⌊log₂ n⌋ + 1 comparisons, so its complexity is O(log n). The data must be sorted.
Japanese name: 二分探索
Binary search appears in 7 practice questions across 3 topics, including Data Structures and Algorithms, A/D and D/A conversion, Software Development and Project Management.