Find the time complexity of a linear search algorithm when searching an array of size 'n'.
O(n)
O(log n)
O(1)
O(n^2)

Data Structures and Algorithms Exercises are loading ...