how does stack and queue be used in simulations
Answers
Answered by
1
Explanation:
In the queue only two operations are allowed enqueue and dequeue. Enqueue means to insert an item into the back of the queue, dequeue means removing the front item. ... In a stack we remove the item the most recently added; in a queue, we remove the item the least recently added.
Similar questions