We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I went down the wrong path at first: transferring data between stacks for every operation. Then I realized that in theory, we never needed to transfer from the 'old' stack to the 'new' stack.
Queues: A Tale of Two Stacks
You are viewing a single comment's thread. Return to all comments →
I went down the wrong path at first: transferring data between stacks for every operation. Then I realized that in theory, we never needed to transfer from the 'old' stack to the 'new' stack.