Data Structure Questions and Answers – Stack using Queues
This set of Data Structure Multiple Choice Questions & Answers (MCQs) focuses on “Stack using Queues”. 1. To implement a stack using queue(with only enqueue and dequeue operations), how many queues will you need? a) 1 b) 2 c) 3 d) 4 2. Making the push operation costly, select the code snippet which implements the … Read more