Question DSA-TREE-0072
HardWhich traversal of a binary tree visits nodes in the order they would be printed on a line from left to right?
- A.
Preorder
- B.
Inorder
- 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 of a binary tree visits nodes in the order they would be printed on a line from left to right?
Preorder
Inorder
Sign up free to see the answer and a step-by-step explanation.
Postorder
Level order