EASYImportant2025GATE-CSData Structures
data-structurestrees-and-binary-trees1-mark
A.
B.
C.
D.
Correct Answer: B
Explanation:
Loading...
Correct Answer: B
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…
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 …