Binary Search – search and sorting – Search a sorted array by dividing the search interval in half. Begin with an interval covering the whole array.
linear search and binary search
2 Articles
2
Linear Search – searching and sorting – algorithm -A simple approach is to do linear search, Start from the leftmost element of arr[] and one by one compare