pls, point out the mistake it is working for the sample input.
Prateek sir and coding
its not printing “No Code” when the stack is empty. i have checked many times but cant find any mistakes.
this should work! there was problem with the way of taking input!