122) For a linear search in an array of n elements the time complexity for best, worst and average case are ......., ....... and ........ respectively
Answer is:
O(1),O(n) and O(n)
Related Data structures and Algorithms MCQ with Answers
Answer is:
(n + 1)/2
Answer is:
Linear time
Answer is:
(n+1)/2
Answer is: