What is the meaning of Dequeue efficient?

here is my answer>>>https://ide.codingblocks.com/s/580944

sir, this is my answer. and sir, what is the meaning of dequeue efficient.
we have to make an Queue class or Deque class ?

basically ques is just asking to implement queue using 2 stacks

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.