1.

On which algorithm is heap sort based on?(a) Fibonacci heap(b) Binary tree(c) Priority queue(d) FIFOThis question was posed to me during an online interview.I'd like to ask this question from Heapsort in chapter Sorting of Data Structures & Algorithms II

Answer»

The correct OPTION is (C) Priority QUEUE

The best explanation: Heap sort is based on the algorithm of priority queue and it gives the best sorting TIME.



Discussion

No Comment Found

Related InterviewSolutions