@yo07_666: Heap Sort is a comparison-based sorting algorithm based on the Binary Heap data structure. It is an optimized version of selection sort. The algorithm repeatedly finds the maximum (or minimum) element and swaps it with the last (or first) element. Using a binary heap allows efficient access to the max (or min) element in O(log n) time instead of O(n). The process is repeated for the remaining elements until the array is sorted. Overall, Heap Sort achieves a time complexity of O(n log n). #softwareengineer #datastructures #coding #algorithms #programming

AI_YO07
AI_YO07
Open In TikTok:
Region: JO
Saturday 28 February 2026 20:55:44 GMT
5046
173
2
11

Music

Download

Comments

miracle_ope
Miracle :
what is the O(n) of this sorting?
2026-02-28 21:54:47
3
To see more videos from user @yo07_666, please go to the Tikwm homepage.

Other Videos


About