HARDImportant2018GATE-CSData Structures
data-structurestrees-and-binary-trees1-mark
Correct Answer: 4
Explanation:
Loading...
Correct Answer: 4
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 preorder traversal of a binary search tree is 15, 10, 12, 11, 20, 18, 16, 19. Which one of the f…