2 2 votes Programming in C + – Kaluti 862 views answer comment Share Follow Print See all 6 Comments 6 6 Comments reply Show 3 previous comments srestha commented Nov 10, 2017 reply Follow flag plz search in prev gate question, u will get good explaination. If still confused , ask me again :) 0 0 replyShare Anu007 commented Nov 10, 2017 i edited by Anu007 Nov 10, 2017 reply Follow flag do enqueue as reverse push reverse 0 0 replyShare Shubhanshu commented Nov 10, 2017 reply Follow flag Option C) is correct for the given question. In this implementation, you just require one stack to implement the queue. Steps for Enqueue operation:- 1) Reverse 2) Push 3) Reverse. Steps for Deque operations:- 1) Pop. Hint:- After every enqueue or dequeue operations, the front of the queue (Dequeue end) will always be top of the stack. It is more clear by taking an example. 3 3 replyShare Please log in or register to add a comment.