Both the iniital and final stack after reversing are same

Initial

final after reversing

Hey @gargayush01,
In the first image that you shared, Sir is telling about the expected input we need to have.
Actual Input is:
50 <- Top
40
30
20
10

And we need to obtain
10 <- Top
20
30
40
50

Hope it clears your doubt.

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.