1.

How many arrays are required to perform deletion operation in a heap?(a) 1(b) 2(c) 3(d) 4This question was posed to me in examination.Asked question is from Heapsort topic in division Sorting of Data Structures & Algorithms II

Answer»

The CORRECT CHOICE is (b) 2

Best explanation: To perform deletion operation in a HEAP, we require 2 arrays and that OCCUPIES extra memory space and hence increase in running time.



Discussion

No Comment Found

Related InterviewSolutions