Skip to main content
Skip to main content
Tutorsbot
Implement a queue using two stacks: the amortised O(1) trick