Queues 2
Queues 2
Front
Rear
The Queue Operations
Front
Rear
The Queue Operations
Front
Rear
The Queue Class
4 8 6
An array of integers
to implement a We don't care what's in
queue of integers this part of the array.
Array Implementation
4 8 6
A Dequeue Operation
2 last
4 8 6
An Enqueue Operation
3 last
8 6 2
At the End of the Array
0 last
4 8 6
Linked List Implementation
10
7
null
head_ptr
tail_ptr
Linked List Implementation
15
10
7
null
head_ptr
tail_ptr
Linked List Implementation
10
7
null
head_ptr
tail_ptr
Rear
Summary
Some artwork in the presentation is used with permission from Presentation Task Force
(copyright New Vision Technologies Inc) and Corel Gallery Clipart Catalog (copyright
Corel Corporation, 3G Graphics Inc, Archive Arts, Cartesia Software, Image Club
Graphics Inc, One Mile Up Inc, TechPool Studios, Totem Graphics Inc).
Students and instructors who use Data Structures and Other Objects Using C++ are welcome
to use this presentation however they see fit, so long as this copyright notice remains
intact.
THE END