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. rear points to the last node, and the front node is rear->next.
The subtopic covers this idea and the enqueue and dequeue operations. The one-node queue, a favourite of exam questions, is shown separately in every lesson.