algoritmauzmanı
Sign in
TREN
Subtopic 5.4

Queue with a Circular Linked List

3lessons15 min0done

If the last node links back to the first, the queue can be kept with one pointer. points to the last node, and the front node is rear->next.

The subtopic covers this idea and the and operations. The one-node queue, a favourite of exam questions, is shown separately in every lesson.

Lesson 5.4.1 A queue with one pointer5 min