moshimoshi
Explore posts from servers✅ Heaps & Priority Queue
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
9 replies