Question
Easy
Let QSPTRU and PQSRTU are in-order traversal and pre-order traversal respectively for a given binary tree T. What will be the post-order traversal T?
1
SQUTRP
2
QSUTRP
3
SQTURP
4
QSUTPR
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Data Structures (Through C++)
Topic: Data Structure Concepts
Correct Answer
Option C
Explanation
The correct option is (3): The process of determining the post-order traversal (Left, Right, Node) from the given in-order (Left, Node, Right) and pre-order (Node, Left, Right) traversals involves a recursive breakdown of the binary tree structure. The pre-order traversal (PQSRTU) immediately identifies the root of the entire tree: P. We then use this root to divide the in-order traversal (QSPTRU) into its Left and Right subtrees. All nodes to…Read More
Similar Questions from HTET Exam - Level 3 - Year 2018
Question 1
Easy
Source :
HTET 2018
_______ is an application layer protocol while _______ is internet layer protocol in TCP/IP reference model.
Chapter :
Computer Networks & Internet
Topic :
Internet Protocols
Question 2
Easy
Source :
HTET 2018
Intersection operation on two database relation is:
Chapter :
Database Management System (DBMS) & SQL
Topic :
Database Concepts
Question 3
Easy
Source :
HTET 2018
Let the postfix expression 3, 2, +, 7, *, 6, 5, +, 4, *, is being evaluated using a stack. What are the values on…
Chapter :
Data Structures (Through C++)
Topic :
Stack
Question 4
Easy
Source :
HTET 2018
Consider a relation R(A, B, C). Which of the following statement is not true according to inference rules for functional dependencies ?
Chapter :
Database Management System (DBMS) & SQL
Topic :
Database Concepts