What is the time complexity of the heap sort algorithm?

Algorithm Design Questions Medium



49 Short 51 Medium 39 Long Answer Questions Question Index

What is the time complexity of the heap sort algorithm?

The time complexity of the heap sort algorithm is O(n log n), where n represents the number of elements in the input array.