In Binary Search , which will be the scenario for Average Case performance ?
The 'Mid key’ is present, but it’s not the middle element O(logn).
The ‘input key’ is present, but it’s not the middle element O(logn).
The ‘Last key’ is present, but it’s not the middle element O(logn).
The ‘First key’ is present, but it’s not the middle element O(logn).
Thank you so much
Thank you so much
ReplyDelete