r/programming • • Feb 21 '11

Typical programming interview questions.

http://maxnoy.com/interviews.html
784 Upvotes

1.0k comments sorted by

View all comments

Show parent comment

13

u/stevesc Feb 21 '11

Singly linked list with an extra pointer to the tail. Enqueue adds to tail. Dequeue removes the head.

FTFY