Question DSA-TREE-0040
EasyWhich traversal is used to copy a tree, creating each parent before its children?
- A.
Preorder
- B.
Postorder
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Trees question
Which traversal is used to copy a tree, creating each parent before its children?
Preorder
Postorder
Sign up free to see the answer and a step-by-step explanation.
Inorder
Reverse level order