This is a rather something I'm not comfortable talking about but I'll do my best. Okay, first things first: If it was because/about other people then I'm going to say that to them. Sometimes I ignore what has happened and regard it as a side effect of going through life. And If I get really sad I stay away from people so I don't affect them in a bad way or disrupt their business. Life should go on and I'm fully aware that some stuff should not be ignored. However, hopefully every sad experience will bring the best in us.
Stack is like a pile of books placed on top of each other. We can add new books to the top and can remove them from only the top because stacks are LIFO which means last-in, first-out. Queues on the other hand are the opposite, which is FIFO meaning first-in, first-out. So adding an element to the queue will be the same but removing will happen to the first element not the last one. An example of a queue would be the wait line in front of any kind of service we see around us like the bus station or the shops,....etc.
Comments
Post a Comment