6 6 votes The post-order traversal of binary tree is $\text{ACEDBHIGF}$. The pre-order traversal is $\text{A B C D E F G H I}$ $\text{F B A D C E G I H}$ $\text{F A B C D E G H I}$ $\text{A B D C E F G I H}$ Data Structures isro-2020 data-structures binary-tree tree-traversal normal + – Satbir 25.4k views answer comment Share Follow Print See all 5 Comments 5 5 Comments reply Show 2 previous comments wannabe.sid commented Jan 15, 2025 reply Follow flag Watch this lecture to understand the concept behind this question:https://youtu.be/5lWJpTEnyow?si=WT4ptxhTd_Kq8SOL 1 1 replyShare Deepu_Nagar commented Apr 17, 2025 reply Follow flag ASCII VALUE SE BHI KER SAKTE HAI .. 0 0 replyShare goku4199 commented Oct 23, 2025 reply Follow flag Ans here we analyzed option b and reverse engineered the solution 0 0 replyShare Please log in or register to add a comment.
11 11 votes You cannot create a unique tree with post and pre-order traversal you need to have either inorder with preorder or postorder this question seems ambiguous , if it would have been Binary search tree then inorder is sorted sequence and tree is possible but here only binary tree is given. STUDYGATE2019 answered Jan 13, 2020 STUDYGATE2019 comment Share Follow See all 2 Comments 2 2 Comments reply Debapaul commented Jan 16, 2020 reply Follow flag You cannot create a unique tree with post and pre-order traversal Yes U can given that the tree is $FULL$. But here there is no mention of such thing. So wrong question 4 4 replyShare kunal_9826438 commented Feb 15 reply Follow flag by seeig last element F we can eleminate a and d now if try to make C as anwer we can not do it so b is right answer why C is wrong ?post = ACEDBHIGFpre = F A B C D E G H I ( option C) root is F if we put A as right child of F then last 2 element in post order will be AF which is wrong if we put A as left child of F then we can not make B as descendent of A because sequence will not start from A in that case now we have to put B as right child of F this is also wrong bacause last 2 element in post order will be BF which is wrong question is not wrong try with this way ISRO people have made a good question 0 0 replyShare Please log in or register to add a comment.
3 3 votes The option which might be correct are b,c Explanation: We can definitely say that the root is F. A can never be the root. While out of option B and C one can't say correctly which would be a preorder for the given postorder. In order to find the preorder, we have to find all the possible trees. So B or C or None of the options would be correct nkg_master9 answered Jan 21, 2020 • edited Jan 23, 2020 by nkg_master9 nkg_master9 comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes it may be answer c-because here in post-order(left right root) leftmost element is A and at last root element is given as F and as per preorder (root left right) so first element must be F and then C(because it is leftmost element in post-order). Pawan_k answered Jan 23, 2020 Pawan_k comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes You cannot find pre-order traversal using post-order traversal only. I think you wrote a wrong question. It must be binary search tree then only we can find the post order traversal. Avinash31 answered Jun 30, 2020 Avinash31 comment Share Follow See all 2 Comments 2 2 Comments reply Satbir commented Jun 30, 2020 reply Follow flag There were many wrong questions in ISRO this year. We have copied those questions directly. Please read the comments before writing your answers. 1 1 replyShare Aditya_np1 commented Feb 26, 2025 reply Follow flag yes, we can becoz we know inorder, which is sorted sequence in bsearch tree 0 0 replyShare Please log in or register to add a comment.
0 0 votes Watch this lecture to understand the concept behind this question:https://youtu.be/5lWJpTEnyow?si=WT4ptxhTd_Kq8SOL wannabe.sid answered Jan 15, 2025 wannabe.sid comment Share Follow 0 reply Please log in or register to add a comment.
0 0 votes Here we analysed option b and and reverse engineered the solution goku4199 answered Oct 23, 2025 goku4199 comment Share Follow 0 reply Please log in or register to add a comment.