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

  • google app store apple app store
  • ✖

      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