October 9, 2023

Data-Structures

Question 9 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 […]
October 9, 2023

Data-Structures

Question 14 The minimum number of interchanges needed to convert the array 89, 19, 40, 17, 12, 10, 2, 5, 7, 11, 6, 9, 70 into […]
October 9, 2023

Data-Structures

Question 35 Consider any array representation of an n element binary heap where the elements are stored from index 1 to index n of the array. […]
October 9, 2023

Heap-Tree

Question 4 In a heap with n elements with the smallest element at the root, the 7th smallest element can be found in time A Θ(n […]
error: Alert: Content selection is disabled!!