Which of the following is not the required condition for binary search algorithm?
A. The list must be sorted.
B. There should be the direct access to the. middle element in any sublist
C. There must be mechanism to delete and/or insert elements in list
D. none of above
Answer:C
Which of the following is not the required condition for binary search algorithm?
A. The list must be sorted. B. There should be the direct access to the. middle element in any sublist C. There must be mechanism to delete and/or insert elements in list D. none of above