Advertisements
Advertisements
Question
The complexity of linear search algorithm is ______
Options
O(n)
O(log n)
O(n2)
O(n log n)
MCQ
Fill in the Blanks
Solution
The complexity of the linear search algorithm is O(n).
shaalaa.com
Is there an error in this question or solution?