Question: what is the difference between linear search and sequential search?
Answer: Linear search checks the elements of an array one by one in a sequential order to find whether the required item is present in the array. On the other hand, binary search is a more efficient algorithm than linear search as it searches the item by comparing it with the middle element.