Data Structures | Queue | Question 4
How many queues are needed to implement a stack. Consider the situation where no other data structure like arrays, linked list is available to you.
Explanation: A stack can be implemented using two queues. Please see following for details.