📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    Which algorithm is used to search for a specific element

    in a sorted array by repeatedly dividing the search interval in half?
    A Linear search Correct Answer Incorrect Answer
    B Binary search Correct Answer Incorrect Answer
    C Depth-first search Correct Answer Incorrect Answer
    D Breadth-first search Correct Answer Incorrect Answer

    Solution

    Binary Search algorithm is used to search for a specific element in a sorted array by repeatedly dividing the search interval in half

    Practice Next

    Relevant for Exams:

    ask-question