Will u plzz explain the question am unable to understand theinput formaty

will u plzz explain the question am unable to understand theinput formaty

The problem only aim to check whether you know stack basic operations or not.
So let me explain in simple manner,
there are two queries:
1 focuses on removing the element from the top of stack and printing on console.
2 pushes element onto stack.

i get it bhaiya the quwstion looks like a complex problem !! thanx a lot

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.