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


    Question

    Consider the following binary tree:      

    5      / \     3   8    / \ / \   1  4 6  9 What is the output of an Inorder Traversal (Left, Root, Right) for this tree?
    A 5 3 1 4 8 6 9 Correct Answer Incorrect Answer
    B 1 3 4 5 6 8 9 Correct Answer Incorrect Answer
    C 1 4 3 6 9 8 5 Correct Answer Incorrect Answer
    D 5 3 8 1 4 6 9 Correct Answer Incorrect Answer
    E 1 3 5 4 8 6 9 Correct Answer Incorrect Answer

    Solution

    The correct answer is B

    Practice Next
    ask-question