1 votes 1 votes how many stack are require to implement a queue ??????????????? how many queue are require to implement a stack????????????????????? explain plz DS stack + – akankshadewangan24 asked Jun 20, 2017 akankshadewangan24 572 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
4 votes 4 votes We need 2 stacks to implement 1 queue And 1 queue to implement 1 stack Angkit answered Jun 20, 2017 Angkit comment Share Follow See 1 comment See all 1 1 comment reply Sanyam Lakhanpal commented Jun 20, 2017 reply Follow Share http://www.geeksforgeeks.org/implement-a-stack-using-single-queue/ 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes We need 2 stack to implement 1 queue and 2 queue to implement 1 stack to perform stack and queue operation. Ankit001 answered Jul 13, 2017 Ankit001 comment Share Follow See all 0 reply Please log in or register to add a comment.