MCQs>IT & Programming>Data Structures And Algorithms>Let A be a sorted array of n=10 elements. Assume that only one comparison is required to determine whether the target is equal to, less than, or greater than A[i]. Which of the following denotes the average successful time of finding an arbitrary element x in A using the binary search?
Data Structures And Algorithms MCQs
Let A be a sorted array of n=10 elements. Assume that only one comparison is required to determine whether the target is equal to, less than, or greater than A[i]. Which of the following denotes the average successful time of finding an arbitrary element x in A using the binary search?
Answer
Correct Answer: 2.5
Explanation:
Note: This Question is unanswered, help us to find answer for this one