InterviewSolution
Saved Bookmarks
| 1. |
What is the worst case runtime of linear search(recursive) algorithm?(a) O(n)(b) O(logn)(c) O(n^2)(d) O(nx)I had been asked this question at a job interview.The question is from Searching in portion Searching of Data Structures & Algorithms II |
|
Answer» Correct choice is (a) O(N) |
|