Reverse a stack

i didn’t understood the background of this quetion , please help me sir

What do you mean by background of the question? Please elaborate your doubt so that I can help you out

actually in the video , sir did many mistakes i did not able to understand the concept that what all is happening , how recursion worked in it , so please explain me in detail please