Skip to content
Early access — you're among the first to try PYQLabs. Share feedback
Concept drill

min-heap

GATE CSE & IT · Data Structures - Heaps · 2003-2025

12
PYQs
67%
keyed
1
elite explanations
8
years appeared

Study anchor

Source-book anchor pending for this concept.

Practice action

Start latest PYQ

PYQs in this concept

All concepts →
2025 Q35

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 32 keys. The height of T is ___...

mediumanswer key
2025 Q38

A meld operation on two instances of a data structure combines them into one single instance of the same data structure. Consider the following data structures: P: Unsorted doubly...

mediumanswer key
2025 PYQ

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 32 keys. The height of $T$ is...

easybasic explanation
2025 PYQ

Which of the following statement(s) is/are TRUE for any binary search tree (BST) having $n$ distinct integers?

easyanswer keybasic explanation
2025 PYQ

A meld operation on two instances of a data structure combines them into one single instance of the same data structure. Consider the following data structures: P: Unsorted doubly...

mediumanswer keyelite explanation
2024 Q43

Consider a binary min-heap containing 105 distinct elements. Let k be the index (in the underlying array) of the maximum element stored in the heap. The number of possible values o...

mediumanswer key
2021 PYQ

Let H be a binary min-heap consisting of n elements implemented as an array. What is the worst case time complexity of an optimal algorithm to find the maximum element in H?

easyanswer keybasic explanation
2020 PYQ

Consider the array representation of a binary min-heap containing 1023 elements. The minimum number of comparisons required to find the maximum in the heap is _______.

mediumbasic explanation
2018 PYQ

The number of possible min-heaps containing each value from $$\left\{ {1,2,3,4,5,6,7} \right\}$$ exactly once is _____.

mediumbasic explanation
2016 PYQ

A complete binary min-heap is made by including each integer in $$[1,1023]$$ exactly once. The depth of a node in the heap is the length of the path from the root of the heap to th...

medium
2015 PYQ

An algorithm performs $${\left( {\log N} \right)^{1/2}}$$ find operations, N insert operations, $${\left( {\log N} \right)^{1/2}}$$ delete operations, and $${\left( {\log N} \right...

hardanswer key
2003 PYQ

In a heap with n elements with the smallest element at the root, the 7 th smallest element can be found in time

mediumanswer keybasic explanation