What is the worst-case time complexity of the heap sort algorithm?

1 answer

Answer

1276289

2026-02-26 14:55

+ Follow

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

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.