8. PRIORITY QUEUE using array | How to delete item | Code in C

Опубликовано: 15 Октябрь 2024
на канале: PSN Academy
246
2

This video explains how to delete an item from a priority queue that has been implemented using 2D array.
This algorithm deletes and processes the first element in a priority queue maintained by a two-dimensional array QUEUE.
1. (Find the first non-empty queue.]
Find the smallest K such that FRONT[K] != NULL.
2. Delete and process the front element in row K of QUEUE.
3. Exit.

My socials:
[email protected]
https://psnacademy.in
  / psnayak  
  / psnayakeducator  
https://www.buymeacoffee.com/psnayak
  / psnayak2007  

Note: This video is copyrighted, no part of it to be reproduced or republished.