For an unsorted array, what is the time complexity of searching for an element?
O(n)
O(log n)
O(1)
O(n^2)

Data Structures and Algorithms Exercises are loading ...