Isn't the correct operation dequeue in the Queue page? #600
LoyalPotato
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In the "Things to look out for during interviews" page for Queue, it's mentioned that enqueue is O(n) operation. But enqueue is just a push right? Shouldn't this be dequeue (removing from the start)?
Beta Was this translation helpful? Give feedback.
All reactions