Question DSA-BST-0017
HardA BST is built by inserting 10, 5, 15, 3, 7, 12, 18. What is its postorder traversal?
- A.
3 7 5 12 18 15 10
- B.
3 5 7 10 12 15 18
- 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
Binary Search Trees question
A BST is built by inserting 10, 5, 15, 3, 7, 12, 18. What is its postorder traversal?
3 7 5 12 18 15 10
3 5 7 10 12 15 18
Sign up free to see the answer and a step-by-step explanation.
3 7 12 18 5 15 10
10 5 3 7 15 12 18