Implementing Quack Functions for Queues
The quack implementations can be extended to queues
- still dealing with quacks
- only difference between stacks and queues:
- in a stack, new nodes added at the top
- in a queue, new nodes added at the bottom
- we only need one additional function,
qush() , for queues
|