Question
Download Solution PDFLet post order traversal of a binary search tree (BST) is given by VSQTURP. If S < V < Q < P < T < R < U, then the pre-order traversal of the BST is:
Answer (Detailed Solution Below)
Detailed Solution
Download Solution PDFBinary search Tree Inorder always be in Ascending order
Since S < V < Q < P < T < R < U
Therefore In order traversal is SVQPTRU
Given post order is VSQTURP
Binary Search Tree:
Therefore Pre-order traversal of the binary search tree is PQSVRTU.
The correct answer is option 2
Last updated on Jun 6, 2025
-> The HTET TGT Applciation Portal will reopen on 1st June 2025 and close on 5th June 2025.
-> HTET Exam Date is out. HTET TGT Exam will be conducted on 26th and 27th July 2025
-> Candidates with a bachelor's degree and B.Ed. or equivalent qualification can apply for this recruitment.
-> The validity duration of certificates pertaining to passing Haryana TET has been extended for a lifetime.
-> Enhance your exam preparation with the HTET Previous Year Papers.