* The efficiency of the binary search method is greater than that of linear search.
* Another difference between the two is that there is a prerequisite for the binary search, i.e., the elements must be sorted while in linear search there is no such prerequisite.
* Time linear search : 0(N), and binary search 0(log2 N)