What is the difference between a priority queue and a circular queue?

1 answer

Answer

1081351

2026-04-04 18:45

+ Follow

A circular queue is similar to the normal queue with the difference that queue is circular queue ; that is pointer rear can point to beginning of the queue when it reaches at the end of the queue. A priority queue is a queue in which each element is inserted or deleted on the basis of their priority. A higher priority element is added first before any lower priority element. If in case priority of two element is same then they are added to the queue on FCFS basis (first come first serve).

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.