1.3.1 (Enqueue) New
1.3.1 (Enqueue) New
Professor
rear is pointing.
Rear Front
D
C B A Before
Rear Front
D C B A After
• Firt Ins First Out (FIFO) data structure Implemented as array or linked listLinked
lists: queue
• Application in Queue
1. A list structure with two access points called the front and rear.
4. Homogeneous components
1. “Data Structures and Algorithms: Annotated Reference with Examples”, (1st Edition, 2008
by Granville Barnett and Luca Del Tongo)
2. Lecture Notes for Data Structures and Algorithms (Version of 27 March 2019) by John
Bullinaria, School of Computer Science University of Birmingham , UK
3. https://CS1020 Data Structures and Algorithms I Lecture Note #9 Stacks and Queues Two
basic linear data structures. - ppt download (slideplayer.com)
[Slide 4]
8
Faculty of Computer Science, University of Computer Studies