Loading practice questions
What is the best case runtime of linear search(recursive) algorithm on an ordered set of elements?
Correct Answer: A — O(1)
Explanation:
The best case occurs when the given element to be found is at the first position. Therefore O(1) is the correct answer.