Trees questions

Q33

GATE CS 2026 CS-1Tree Data StructuresNAT1 mark
The height of a binary tree is the number of edges in the longest path from the root to a leaf in the tree. The maximum possible height of a full binary tree with 23 nodes is _________. (answer in integer)
Show answer without attempting

Answer: 11

Q12

GATE CS 2026 CS-2Tree Data StructuresMCQ1 mark−1/3 if wrong
The set T represents various traversals over binary tree. The set S represents the order of visiting nodes during a traversal.

| T | S |
|---|---|
| I: Inorder | L: left subtree, node, right subtree |
| II: Preorder | M: node, left subtree, right subtree |
| III: Postorder | N: left subtree, right subtree, node |

Which one of the following is the correct match from T to S ?
Show answer without attempting

Answer: A

0/20 correct0 marks

Related topics in Tree Data Structures