InterviewSolution
Saved Bookmarks
| 1. |
In postorder traversal of binary tree right subtree is traversed before visiting root.(a) True(b) FalseMy question comes from Binary Trees in chapter Binary Trees of Data Structures & Algorithms II had been asked this question in unit test. |
|
Answer» RIGHT choice is (a) True Easiest EXPLANATION - Post-order method of TRAVERSING involves– i) TRAVERSE left subtree in post-order, ii) Traverse right subtree in post-order, III) visit the root. |
|