Reputation: 1726
I believe the worst case asymptotic complexities for Linear search and Binary Search are O(n) and O(lgn) respectively. Am I correct?
Upvotes: 0
Views: 250
Reputation: 372814
Yes, that's correct. Can you find examples of cases that trigger these run times?
Upvotes: 2