Author

Topic: STACK AND QUEUE ("Real Life Examples") (Read 410 times)

sr. member
Activity: 476
Merit: 250
U will never know the true answer, before you try
June 21, 2015, 06:14:20 AM
#1
Please help me to build a list of examples of stack and queue in real life situation...

Conditions:
The object concerned must only one object.
And the object must be in a container.

Example:

Example:
Queue (FIFO): The bullet in a machine gun..(you cannot fire 2 bullets at the same time)
Stack (LIFO): The tennis balls in their container.. (you cannot remove 2 balls at the same time)

I need 10 examples and explanations. Thanks in advance.
Jump to: