Question

    Which of the following is not a limitation of binary search algorithm?

    A must use a sorted array Correct Answer Incorrect Answer
    B requirement of sorted array is expensive when a lot of insertion and deletions are needed Correct Answer Incorrect Answer
    C there must be a mechanism to access middle element directly Correct Answer Incorrect Answer
    D binary search algorithm is not efficient when the data elements are more than 1000. Correct Answer Incorrect Answer
    E None Correct Answer Incorrect Answer

    Solution

    The correct answer is D

    Practice Next