Computer Sciences > GATE 2024 SET-1 > Heaps
An array is [82, 101, 90, 11, 111, 75, 33, 131, 44, 93] heapified. Which one of the following options represents the first three elements in the heapified array?
A
131, 101, 93
B
131, 93, 101
C
131, 11, 93
D
131, 111, 90

Correct : b

Similar Questions

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...
#879 MCQ
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...
#1067 MCQ
Consider a max heap, represented by the array: Now consider that a value 35 is inserted into this heap. After insertion, the new heap is
#1127 MCQ

Related Topics

heapify array GATE 2024 computer science gate first three elements heapified array manipulation GATE GATE set 1 question 40 heapify algorithm sorting algorithms GATE find elements in heap computer science questions

Unique Visitor Count

Total Unique Visitors

Loading......