-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 tangible.

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)

Please help me I need more examples..
At least 10 examples

5
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by deceptikon
2

Use your brain. This problem is practically begging you to have some level of intelligent thought. They didn't even ask for programming examples, they just asked for examples. Are you really that dumb.. ?

1

Stack - you have a hole, and put things in it that are approximately the same diameter as the hole. IE, LIFO.
Queue - you have some beads and a string. You put one bead on one end, and take one off of the other. IE: FIFO.

Clear yet?

0

Clear yet?

With one post 2 years ago asking for other people to do their thinking for them, I'm willing to bet that the OP has long since failed. ;)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.