Monday, July 14, 2014

The complexity of linear search algorithm is

A. O(n)
B. O(log n)
C. O(n2)
D. O(n log n)

Ans: A

No comments: