QUSDequeueEfficient

can u tell error in my code

There are unmatched braces in your code, correct them , and also don’t use the QueueEfficientClass name as public, and you have just imported the Class DynamicStack, that won’t work on an online IDE, you need to paste the entire class over here.

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.