Programmer's Wiki
Advertisement

I think it would be good to remove the links for pop and unshift. I don't think there is much more to the operations than what is mentioned. BTW I've never heard it called unshift before? --Drawde83 23:40, 19 November 2008 (UTC)

Fine by me... I just don't want the first one (enqueue) to be called "push" because that's a different operation.
Shift/unshift emphasizes which end of the collection is being operated on, kind of like push/pop but unlike enqueue/dequeue. See [1] for a precedent. --Jesdisciple (talk) 02:47, 20 November 2008 (UTC)
I removed the shift and pop... I think shift is included in double-ended queue terminology. --ko (talk) 03:14, 20 November 2008 (UTC)
Advertisement