Question DSA-TREE-0051
MediumWhich traversal is used to delete (free) all nodes of a tree safely?
- A.
Inorder
- 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 delete (free) all nodes of a tree safely?
Inorder
Postorder
Sign up free to see the answer and a step-by-step explanation.
Level order from the root
Preorder