Question

Which of the following is not the required condition for binary search algorithm?

A The list must be sorted Correct Answer Incorrect Answer
B there should be the direct access to the middle element in any sublist Correct Answer Incorrect Answer
C There must be mechanism to delete and/or insert elements in list Correct Answer Incorrect Answer
D There should only be fractions Correct Answer Incorrect Answer
E none of above Correct Answer Incorrect Answer

Solution

The correct answer is C

Practice Next
×
×