What is the time complexity of searching for an element in an unsorted array of size n?
O(n)
O(log n)
O(1)
O(n^2)

Computer Science Exercises are loading ...