This is speaking in generalities though, since you could have an “alternatively implemented dequeue or a linked list entirely on the stack.
This is speaking in generalities though, since you could have an “alternatively implemented dequeue or a linked list entirely on the stack.