Chapter 5
Queues
Chapter Outline
5.2 Various Positions of Queue
5.5 Disadvantages of Simple Queues
5.6 Dynamic Implementation (Pointers)
5.1 INTRODUCTION
A queue is one of the simplest data structures and can be implemented with different methods on a computer. Queue of tasks to be executed in a computer is analogous to the queue that we see in our daily life at various places. The theory of a queue is common to all. Queue of people in a bank, students queue in school, a travellers' queue for tickets at railway station are few examples of queue. It is necessary to wait ...
Get Introduction to Data Structures in C now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.