adding heap sort animation

This commit is contained in:
Jidong Xiao
2025-04-11 11:19:25 -04:00
committed by JamesFlare1212
parent d8190eeea8
commit 8e49abd24a

View File

@@ -209,6 +209,8 @@ Sorted array:
12 42 13 65 90 45 97 85 76 98 12 42 13 65 90 45 97 85 76 98
``` ```
- Play this [animation](https://jidongxiao.github.io/CSCI1200-DataStructures/animations/heap/sort/index.html) to see how the push works.
## 24.9 Summary Notes about Vector-Based Priority Queues ## 24.9 Summary Notes about Vector-Based Priority Queues
- Priority queues are conceptually similar to queues, but the order in which values / entries are removed (“popped”) depends on a priority. - Priority queues are conceptually similar to queues, but the order in which values / entries are removed (“popped”) depends on a priority.