6 Replies
Either I'm having a stroke or this question makes no sense. You might need to rephrase a little bit so people can understand what you want.
Maybe we can all have a wild guess and the community can vote on their favourite answer š
Haha, apologies for not being clear. My lecture slides had this written on it but had no clue what it meant - as an application of heap
Priority Queues (e.g. CPU job-scheduling)
ā¢ Give each runnable task a priority number
ā¢ Execute the next runnable task with highest priority
Application of heap, meaning usage of heap
yes thats right
Well, prio queues often use heaps as their backing structure
so they are an example of a usage of heaps
hahaha yeah i read some explanation online too! thanks š