Extra pushing in primary stack

DUBARA PRIMARY STACK M PUSH KYU KAR RAHEIN H. AGAR HUM SECONDARY STACK S POP KARDE SARE ELEMENTS TAB BHI TOH ANSWER SAME HI MIL RHA H i.e 24,3,39,1,24,63???

we have elements in right order in the secondary stack because we pushed into second stack from the first stack itself, if you dont put elements into the first stack the elements in second stack wont be ordered.

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.