You are currently browsing the tag archive for the ‘Binary search’ tag.
To search an element stored in the Linear list , we can use Linear search or Binary search.The Binary search is more effective than Linear search when the number of elements in the Linear list is large.
Note :- Binary search requires the elements present in the Linear list to be in a sorted order.
This is program on linear search and binary search :

