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


    âš¡ Month End Offer - Flat 52% Off On All Courses! Enroll Now âš¡
    00:00:00 AM Left

    Question

    Which traversal method is best for copying a binary

    tree?
    A Pre-order Correct Answer Incorrect Answer
    B In-order Correct Answer Incorrect Answer
    C Post-order Correct Answer Incorrect Answer
    D Level-order Correct Answer Incorrect Answer
    E Reverse in-order Correct Answer Incorrect Answer

    Solution

    Post-order traverses children before the root, ideal for duplicating nodes bottom-up.

    Practice Next
    ask-question