Implement a queue using 2 stacks

Click for Solution

  • Warning: Illegal string offset 'name' in /home/prepdo6/gpl4you/discussquessub.php on line 681
    A ALL entrie are put in to first stack and from first stack to second stack ,when we take elements from second stack it will be same as queue.

[Insert Code]