MEDIUMImportant2020GATE-CSData Structures
data-structurestrees-and-binary-trees1-mark
A.
B.
C.
D.
Correct Answer: D
Explanation:
Loading...
Correct Answer: D
Explanation:
Take your GATE-CS preparation to the next level. Practice with full-length mock tests, get instant results, and track your progress with detailed analytics.
Browse GATE-CS Test SeriesThe height of a binary tree is the number of edges in the longest path from the root to a leaf. The …
The set T represents various traversals over a binary tree. The set S represents the order of visiti…
Consider a binary tree T in which every node has either zero or two children. Let n > 0 be the nu…
typedef struct node { int val; struct node *left, *right; } node; int foo(node *p) { int…
The postorder traversal of a binary tree is 8, 9, 6, 7, 4, 5, 2, 3, 1. The inorder traversal of the …