Tree Data Structures
Study notes are awaiting editorial approval. You can still practise the reviewed questions below.
Related previous-year questions
Practise this topic- 2026 · The set T represents various traversals over binary tree. The set S represents the order of visiting nodes during a traversal. | T | S | |---|---| |
- 2026 · Let $n$ be an odd number greater than 100. Consider a binary minheap with $n$ elements stored in an array $P$ whose index starts from 1. Which of the
- 2026 · 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 bina
- 2026 · Let $P$ be the set of all integers from 1 to 15. Consider any order of insertion of the elements of $P$ into a binary search tree that creates a compl
- 2026 · Consider a binary search tree (BST) with $n$ leaf nodes ($n > 0$). Given any node $V$, the key present in the node is denoted as $Val(V)$. All the key
- 2026 · The following sequence corresponds to the preorder traversal of a binary search tree $T$: 50, 25, 13, 40, 30, 47, 75, 60, 70, 80, 77 The position of
- 2025 · Consider a binary tree $T$ in which every node has either zero or two children. Let $n > 0$ be the number of nodes in $T$. Which ONE of the following
- 2025 · Which of the following statement(s) is/are TRUE for any binary search tree (BST) having $n$ distinct integers?
- 2025 · The height of any rooted tree is defined as the maximum number of edges in the path from the root node to any leaf node. Suppose a Min-Heap $T$ stores
- 2025 · Suppose the values $10, -4, 15, 30, 20, 5, 60, 19$ are inserted in that order into an initially empty binary search tree. Let $T$ be the resulting bin
- 2024 · You are given a set $V$ of distinct integers. A binary search tree $T$ is created by inserting all elements of $V$ one by one, starting with an empty
- 2024 · An array [82, 101, 90, 11, 111, 75, 33, 131, 44, 93] is heapified. Which one of the following options represents the first three elements in the heapi