binary search algorithm

Binary search algorithm is one of the fastest way to identify the element from an sorted array. It is also the commonly asked data structure interview questions. It works based on divide and conquer mechanism. It will divide the given array into 2 parts and discard the one part. So it will works faster for … Continue reading binary search algorithm