## Binary Search | CodeWindow.in

In Data Structure and Algorithm, Binary Search is a searching mechanism that is implemented to search an element from an array. Binary search always works on a sorted array (ascending/descending). In each step of Binary Search, we split every section into two sub-sections based on mid of the section.1. Left side sub-section of Mid.2. Right …