What is the worst case time complexity of linear search algorithm?
A. Ο(1)
B. Ο(n)
C. Ο(log n)
D. Ο(n2)
Answer:D
What is the worst case time complexity of linear search algorithm?
A. Ο(1) B. Ο(n) C. Ο(log n) D. Ο(n2)