Deque efficient queue using stack

did not get the question

refer this https://ide.codingblocks.com/s/586442

i want to code by myself, can u please explain the question

All u have to do is make the functionality of queue (ie First in first out) using 2 stacks (in stack it is last in first out)

stack to LIFO hota h na !!

Ya sry… tying error

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.