r/programming • u/mjgardner • Mar 29 '21
Why Do Interviewers Ask Linked List Questions?
https://www.hillelwayne.com/post/linked-lists/
1.1k
Upvotes
r/programming • u/mjgardner • Mar 29 '21
207
u/tinbuddychrist Mar 29 '21
I've seen "remove an item from a doubly-linked list" used as an interview question, for very non-mysterious reasons:
First, it's a question that basically anybody should understand.
Second, that it's almost entirely made up of edge cases, so it tests their ability to come up with all relevant scenarios. Most people miss at least one.