News for hackers. Stuff that matters.
Re:Why do interviewers ask linked list questions? by nicoburns on Monday March 29, 2021 @02:02PM (#26625763)
> Saying "I'd use a library" isn't a reliable signal.

True. That's why you shouldn't be asking a question where that's a good answer in the first place.

> Linus and Jeff Dean are very good at such problems and it's not a coincidence.

Sure. But being good at these problems also isn't what makes Jeff Dean or Linus good programmers. Being good at solving novel problems is. The problem with the linked list question is that half of your interviewees will have seen it before and half of them wont, thus giving you quite a biased view on them.

Re:Why do interviewers ask linked list questions? by cousin_it on Monday March 29, 2021 @02:12PM (#26625930)
> half of your interviewees will have seen it before and half of them wont

That's just not true at all. There's a huge supply of algorithmic problems and it's easy to invent new ones, so a typical problem given in an interview will be novel to pretty much all interviewees.

Re:Why do interviewers ask linked list questions? by prepend on Monday March 29, 2021 @05:00PM (#26628108)
> That's why you shouldn't be asking a question where that's a good answer in the first place.

I’d like a better question, but time is limited and spending lots of time on explaining the context behind a real example is harder. Although it’s not like I’m married to these questions and would gladly replace them with some generic question that tries to address threading, resource management, and whatever linked lists are supposed to test.