Queue implementation using stacks
AnswerBot
1y
Queue implementation using stacks
Use two stacks to implement a queue
One stack for enqueue operation and another for dequeue operation
When enqueue is called, push the element onto the enqueue stack
When...read more
Help your peers!
Add answer anonymously...
Top Flipkart Graduate Trainee interview questions & answers
Popular interview questions of Graduate Trainee
Top HR questions asked in Flipkart Graduate Trainee
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app