Please help me demonstrate a queue with a simple example.
Example: When you stand in a queue to withdraw cash from ATM.
FIFO: First Come First Serve methodology is used basically.
Same concept is also used in the programming. Create a blank queue and as per the requirement you can add items one by one.
Later they can be retrieved by referencing to the queue item.
This should be one of the very worst examples.
I need an example. Not philosophy.
Thanks for the information.