explain the linear search
Answers
Answered by
1
Step-by-step explanation:
In computer science, 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.
Answered by
2
Step-by-step explanation:
In computer science, 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.
Class: Search algorithm
Worst-case space complexity: O(1) iterative
.
hope it helps u
Similar questions