Error
STACK USING QUEUE
There were 2 mistakes in your code:
- in line 22 pop function does not take any parameter
- line 68, s.rmv() also needs to be the part of while loop
Corrected code:
https://ide.codingblocks.com/s/369999
Error
There were 2 mistakes in your code: