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


    Question

    In a binary search tree (BST), what is the time

    complexity of finding the maximum element in the tree?  
    A O(log n) Correct Answer Incorrect Answer
    B O(n) Correct Answer Incorrect Answer
    C O(1) Correct Answer Incorrect Answer
    D O(n log n) Correct Answer Incorrect Answer

    Solution

    O(log n)

    Practice Next

    Relevant for Exams:

    ask-question

    Not sure which exam is best for you Talk to our expert

    Get My Free Call