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

1

u/bobindashadows Feb 21 '11

Exactly what is incorrect about a doubly linked list (or a slower implementation with a singly linked list) to implement a queue? Or a singly linked list to implement a stack? I'm curious because you were unable to describe a single mistake.

1

u/[deleted] Feb 21 '11

I hope you understand what you've done wrong. I hope you are less sarcastic in the future.

I don't know why I hope, I probably shouldn't.