What is the time complexity of linear search?

Searching Algorithms Questions



24 Short 58 Medium 71 Long Answer Questions Question Index

What is the time complexity of linear search?

The time complexity of linear search is O(n), where n is the number of elements in the list being searched.