You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are given a stack data structure with push and pop operations.
The task is to implement a queue using instances of the stack data structure
and operations on them.
Stack - LIFO (Last in First Out)
Queue - FIFO (First in First Out)