Linear Search: It is best when the data is less and is unsorted. It will be lengthy for the huge amount of data because it go through the every data value linearly for searching. Complexty is O. Binary Search: It is a more efficient search algorithm which relies on the elements in the list being sorted.