Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged tree-traversal
2
2 votes
1
1 answer
190
190 views
GO Classes DPP | GATE DA | Python & DSA | Postorder Traversal
The following keys are inserted into an empty Binary Search Tree in the given order:$\texttt{70, 11, 47, 81, 20, 61, 10, 12, 13, 62}$ What is the postorder traversal of t...
GO Classes
190
views
asked
Jul 14
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-224
python-&-dsa
goclasses-python-&-dsa-practice-questions
binary-search-tree
tree-traversal
+
–
4
4 votes
2
2 answers
316
316 views
GO Classes DPP | GATE CS, DA | Data Structure | BST Postorder Update
The postorder traversal of a binary search tree is:$\text{1, 12, 4, 22, 18, 16}$What is the new postorder traversal after inserting $10$ and $14$ into the BST?$\text{1, 1...
GO Classes
316
views
asked
Jul 13
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-223
goclasses-cs-dpp
goclasses-cs-dpp-day-322
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
binary-search-tree
tree-traversal
+
–
6
6 votes
1
1 answer
254
254 views
GO Classes DPP | GATE CS, DA | Data Structure | Traversal Logic
A binary tree has:Left subtree containing $1000$ nodes Right subtree containing $100$ nodesHow many nodes are processed before the root in preorder, inorder, and postorde...
GO Classes
254
views
asked
Jul 13
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-223
goclasses-cs-dpp
goclasses-cs-dpp-day-321
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
binary-tree
tree-traversal
+
–
5
5 votes
2
2 answers
252
252 views
GO Classes DPP | GATE CS, DA | Data Structure | Tree Traversal
A binary tree has the following traversals:Preorder traversal $: \text{A M P K L D H T}$ Inorder traversal $:\text{P M L K A H T D}$Which of the following is the postorde...
GO Classes
252
views
asked
Jul 13
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-223
goclasses-cs-dpp
goclasses-cs-dpp-day-321
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
binary-search-tree
tree-traversal
+
–
6
6 votes
1
1 answer
215
215 views
GO Classes DPP | GATE CS, DA | Data Structure | Traversal Output
Consider the following binary tree:Which option correctly gives the preorder, postorder, inorder, and level-order traversals?Preorder $:\texttt{9 15 23 12 8 6 2 7 10 5 35...
GO Classes
215
views
asked
Jul 13
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-223
goclasses-cs-dpp
goclasses-cs-dpp-day-321
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
binary-tree
tree-traversal
+
–
6
6 votes
1
1 answer
193
193 views
GO Classes DPP | GATE CS, DA | Data Structure | Postorder Traversal
Consider the following binary search tree:If we traverse the tree in postorder and print only the key values that are greater than $12$ and less than $20$, what will be t...
GO Classes
193
views
asked
Jul 13
Data Structures
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-223
goclasses-cs-dpp
goclasses-cs-dpp-day-321
data-structures
python-&-dsa
goclasses-python-&-dsa-practice-questions
goclasses-ds-practice-questions
binary-search-tree
tree-traversal
+
–
2
2 votes
3
3 answers
250
250 views
UGC NET CSE | December 2025 | Part 2 | Question: 37
The inorder and preorder traversal of binary tree are $\mathrm{d}, \mathrm{b}, \mathrm{e}, \mathrm{a}, \mathrm{f}, \mathrm{c}, \mathrm{g}$ and $\mathrm{a}, \mathrm{b}, \m...
Shubham Sharma 2
250
views
asked
Apr 19
Data Structures
ugcnetcse-dec2025
data-structures
binary-tree
tree-traversal
+
–
4
4 votes
2
2 answers
556
556 views
GATE DA 2026 | Question: 15
You are given the following Pre-order and In-order traversals of a Binary Tree $T$ with nodes $E, F, G, P, Q, R, S$.\[\begin{array}{llllllll}\text{Pre-order:} & P & Q & S...
gatecse
556
views
asked
Feb 23
Algorithms
gateda-2026
algorithms
tree-traversal
multiple-selects
one-mark
+
–
13
13 votes
4
4 answers
1.9k
1.9k views
GATE CSE 2026 | Set 2 | Question: 2
The set $\mathbf{T}$ represents various traversals over binary tree. The set $\mathbf{S}$ represents the order of visiting nodes during a traversal.\[\renewcommand{\array...
gatecse
1.9k
views
asked
Feb 23
Data Structures
gatecse-2026-set2
data-structures
tree-traversal
one-mark
+
–
4
4 votes
1
1 answer
868
868 views
GATE CSE 2026 | Set 1 | Data Structures | Memory Based | Question 39
The following sequence corresponds to the preorder traversal of a BST : $$T: 50, 25, 13, 40, 30, 47, 75, 60, 70, 80, 77$$The position of the element $60$ in the postorder...
GO Classes
868
views
asked
Feb 12
Data Structures
goclasses
gate2026_cs_set1_memorybased
data-structures
tree-traversal
binary-search-tree
numerical-answers
two-marks
+
–
1
1 vote
1
1 answer
210
210 views
ISRO CSE 2025 | Question: 21
When a tree given in the diagram is traversed inorder, the order would be$\text{a, b, d, h, e, i, j, c, f, g, k}$$\text{h, d, i, j, e, b, f, k, g, c, a}$$\text{h, d, b, i...
Shubham Sharma 2
210
views
asked
Nov 8, 2025
Data Structures
isro-cse-2025
data-structures
binary-tree
tree-traversal
+
–
2
2 votes
1
1 answer
286
286 views
UGC NET CSE | January 2025 | Part 2 | Question: 64
Match the $\textbf{LIST-I}$ with $\textbf{LIST-II}$$\begin{array}{|l|l|l|l|} \hline & \textbf{ LIST-I } & & \textbf{ LIST-II } \\ \hline \text{A.} & \text{Breadth First ...
Shubham Sharma 2
286
views
asked
Sep 10, 2025
Data Structures
ugcnetcse-jan2025
graph-algorithms
tree-traversal
data-structures
+
–
1
1 vote
1
1 answer
616
616 views
DRDO CSE 2022 Paper 1 | Question: 30
If the prefix traversal order of a tree is $*+\mathbf{a} \mathbf{b}-\mathbf{c} \mathbf{d}$. Then, find the equivalent postfix order of the that tree.
admin
616
views
asked
Dec 15, 2022
Data Structures
drdocse-2022-paper1
data-structures
tree-traversal
three-marks
descriptive
+
–
1
1 vote
2
2 answers
972
972 views
UGC NET CSE | October 2022 | Part 1 | Question: 93
Consider the traversal of a treePreorder $\rightarrow$ $\text{ABCEIFJDGHKL}$Inorder $\rightarrow$ $\text{EICFJBGDKHLA}$Which of the following is correct post order traver...
admin
972
views
asked
Oct 23, 2022
Data Structures
ugcnetcse-oct2022-paper1
binary-tree
tree-traversal
data-structures
+
–
Page:
1
2
3
next »