What is the average number of comparisons used in a heap sort algorithm?
What is the average number of comparisons used in a heap sort algorithm? Correct Answer 2N log N + O(N)
The average number of comparisons in a heapsort algorithm is mathematically found to be 2N log N + O(N).
মোঃ আরিফুল ইসলাম
Feb 20, 2025