MEDIUMImportant2026GATE-CSData Structures
data-structurestrees1-mark
Correct Answer: 11
Explanation:
Loading...
Correct Answer: 11
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 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 preorder traversal of a binary search tree is 15, 10, 12, 11, 20, 18, 16, 19. Which one of the f…
The postorder traversal of a binary tree is 8, 9, 6, 7, 4, 5, 2, 3, 1. The inorder traversal of the …