• recategorized by
1,197 views
0 0 votes
closed as a duplicate of: GATE CSE 2003 | Question: 23
Position:
Show:

Related questions

10 10 votes
1 1 answer
233
233 views
GO Classes asked Jul 22
233 views
Heaps are usually implemented using arrays.If an element is present at a known array index in a heap of size $N$, what is the time complexity to remove that element and r...
2 2 votes
1 1 answer
173
173 views
GO Classes asked Jul 21
173 views
A max-heap is stored using $0$-based indexing as:$$[60, 30, 45, 15, 5, 10, 20]$$During the first iteration of heap sort:Swap the root with the last element. Reduce the he...
4 4 votes
2 2 answers
170
170 views
GO Classes asked Jul 21
170 views
A min-heap is stored using $1$-based indexing as:$[2, 13, 7, 17, 14, 22, 8, 21]$After one $\texttt{DeleteMin}$ operation, what is the final heap array?$[7, 13, 8, 17, 14,...
4 4 votes
2 2 answers
183
183 views
GO Classes asked Jul 21
183 views
The following max-heap is stored using $1$-based indexing:$[57, 53, 42, 48, 25, 34, 29, 18, 30, 25]$Insert $55$ into this max-heap. What is the final heap array?$[57, 55,...