by sendind the elements in the second stack we are creating a stack which is reverse of the given stach then why we want to reverse that stack in that only stack
Reverse stack problem
@deepakjumani09 hey, ap ki bat samjh rha hoon but its general question ki hme ek particular stack reverse krna hai using another stack ,so just see the logic as interviewer will ask question by giving condition which you have to apply.
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.