 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| • |
When
we add things to the rear of the
|
|
|
queue
we enqueue the data
|
|
| • |
When
we remove things from the front of
|
|
the
queue we dequeue the data
|
|
| • |
We
also might want to determine if the
|
|
|
queue
is empty or full
|
|
| • |
We
may also want to peek at the front
|
|
| • |
A DEQUE
is a double ended queue where
|
|
you
can enqueue and dequeue at either
|
|
|
front
or rear
|
|