Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 460 Bytes

BinarySearch.md

File metadata and controls

13 lines (9 loc) · 460 Bytes

Binary Searching

Binary Search is a searching algorithm used in a sorted array by repeatedly dividing the search interval in half. The idea of binary search is to use the information that the array is sorted and reduce the time complexity.

image

Time Complexity: 0 ( log n )