How many minimum queues are needed to implement a stack ?
A) 1
B) 2
C) 3
D) 4
Answer & Solution
Answer: Option BSolution:
2 queues are needed to implement a stack.