Question DSA-STK-0069
HardHow many stacks are needed to implement a queue with amortised O(1) operations?
- A.
4
- B.
3
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Stacks question
How many stacks are needed to implement a queue with amortised O(1) operations?
4
3
Sign up free to see the answer and a step-by-step explanation.
1
2