1 – Linear Search Algorithm
1.1K views on YouTube
A linear search or sequential search is a method for finding an element within a list. It sequentially checks each element of the list until a match is found or the whole list has been searched.
Time Complexity:
Best Case: O(1)
Average Case: O(n/2)
Worst case: O(n)