>
Exams
>
Data Science and Artificial Intelligence
>
Representation of Binary Tree
>
consider the following tree traversals on a full b
Question:
Consider the following tree traversals on a full binary tree :
(i) Preorder
(ii) Inorder
(iii) Postorder
Which of the following traversal options is/are sufficient to uniquely reconstruct the full binary tree ?
GATE DA - 2024
GATE DA
Updated On:
Jan 30, 2026
(i) and (ii)
(ii) and (iii)
(i) and (iii)
(ii) only
Show Solution
Verified By Collegedunia
The Correct Option is
A,
B,
C
Solution and Explanation
The correct option is (A) : (i) and (ii) , (B) :(ii) and (iii) and (C) : (i) and (iii).
Download Solution in PDF
Was this answer helpful?
1
0
Top GATE DA Data Science and Artificial Intelligence Questions
Consider performing depth-first search (DFS) on an undirected and unweighted graph G starting at vertex s. For any vertex u in G, d[u] is the length of the shortest path from s to u. Let (u, v) be an edge in G such that d[u] < d[v]. If the edge (u, v) is explored first in the direction from u to v during the above DFS, then (u, v) becomes a _____ edge.
GATE DA - 2024
Data Science and Artificial Intelligence
Database Concepts
View Solution
Three fair coins are tossed independently. T is the event that two or more tosses result in heads. S is the event that two or more tosses result in tails. What is the probability of the event T ∩ S?
GATE DA - 2024
Data Science and Artificial Intelligence
Probability
View Solution
Consider the matrix
\(M=\begin{bmatrix} 2 & -1 \\ 3 & 1 \end{bmatrix}\)
.
Which ONE of the following statements is TRUE ?
GATE DA - 2024
Data Science and Artificial Intelligence
Matrix
View Solution
For any twice differentiable function ƒ: R → R, if at some x* ∈ R, f'(x*) = 0 and f'(x*) > 0, then the function f necessarily has a ______ at x = x*.
Note : R denotes the set of real numbers.
GATE DA - 2024
Data Science and Artificial Intelligence
Differential Equations
View Solution
Match the items in Column 1 with the items in Column 2 in the following table :
Column 1
Column 2
(p)
First In First Out
(i)
Stacks
(q)
Lookup Operation
(ii)
Queues
(r)
Last In First Out
(iii)
Hash Tables
GATE DA - 2024
Data Science and Artificial Intelligence
Hashing
View Solution
View More Questions
Top GATE DA Representation of Binary Tree Questions
Given a dataset with K binary-valued attributes (where K > 2) for a two-class classification task, the number of parameters to be estimated for learning a naïve Bayes classifier is
GATE DA - 2024
Data Science and Artificial Intelligence
Representation of Binary Tree
View Solution
Let h
1
and h
2
be two admissible heuristics used in A* search.
Which ONE of the following expressions is always an admissible heuristic ?
GATE DA - 2024
Data Science and Artificial Intelligence
Representation of Binary Tree
View Solution
Consider the following statement :
In adversarial search, α - β pruning can be applied to game trees of any depth where a is the
(m)
value choice we have formed so far at any choice point along the path for the MAX player and ẞ is the
(n)
value choice we have formed so far at any choice point along the path for the MIN player.
Which ONE of the following choices of (m) and (n) makes the above statement valid ?
GATE DA - 2024
Data Science and Artificial Intelligence
Representation of Binary Tree
View Solution
Top GATE DA Questions
Consider performing depth-first search (DFS) on an undirected and unweighted graph G starting at vertex s. For any vertex u in G, d[u] is the length of the shortest path from s to u. Let (u, v) be an edge in G such that d[u] < d[v]. If the edge (u, v) is explored first in the direction from u to v during the above DFS, then (u, v) becomes a _____ edge.
GATE DA - 2024
Database Concepts
View Solution
Three fair coins are tossed independently. T is the event that two or more tosses result in heads. S is the event that two or more tosses result in tails. What is the probability of the event T ∩ S?
GATE DA - 2024
Probability
View Solution
Consider the matrix
\(M=\begin{bmatrix} 2 & -1 \\ 3 & 1 \end{bmatrix}\)
.
Which ONE of the following statements is TRUE ?
GATE DA - 2024
Matrix
View Solution
For any twice differentiable function ƒ: R → R, if at some x* ∈ R, f'(x*) = 0 and f'(x*) > 0, then the function f necessarily has a ______ at x = x*.
Note : R denotes the set of real numbers.
GATE DA - 2024
Differential Equations
View Solution
Match the items in Column 1 with the items in Column 2 in the following table :
Column 1
Column 2
(p)
First In First Out
(i)
Stacks
(q)
Lookup Operation
(ii)
Queues
(r)
Last In First Out
(iii)
Hash Tables
GATE DA - 2024
Hashing
View Solution
View More Questions