Title: STACK AND QUEUE ("Real Life Examples") Post by: Scream on June 21, 2015, 10:14:20 AM 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. |