In Binary Search , which will be the scenario for Average Case performance ?
A. The 'Mid key’ is present, but it’s not the middle element O(logn).
B. The ‘input key’ is present, but it’s not the middle element O(logn).
C. The ‘Last key’ is present, but it’s not the middle element O(logn).
D. The ‘First key’ is present, but it’s not the middle element O(logn).
Answers
Answered by
9
Answer:
C. The ‘Last key’ is present, but it’s not the middle element O(logn).
Similar questions