I'm sure I could implement one, but it'd require googling. If that ever kept me from a position, they could gladly keep it.
It's literally:
struct list_node {
struct list_node *next;
...
};
There, you know how linked lists work :)Sure, he can figure it out, but he's gonna look stupid for the first few minutes.
There are pretty simple things that will blow up in your face performance-wise even at rather modest scale if you don't know what's going on under the hood.
Do you know why you're not supposed to concate strings, especially at scale/in loops? Do you know what the N+1 performance problem is? I've seen simple webapps take out beefy servers at modest load because a dev didn't.
So yeah, we're here to serve business needs, and for that we need devs who can reason at the most basic level of abstraction about what's going on under the hood.
Modern programming generally has you approaching any obscure issues like this the same way: You profile your code, figure out where something is going horribly wrong, then try to look up answers for why. If I noticed that my string concatenation was taking an inordinate amount of time, it'd probably take me under 5 minutes to figure out why via Google alone.
Hell, I'd significantly wonder what someone was doing if they were concatenating strings enough to cause performance issues. I can't imagine any business need, for anyone, that could be brought together by that.
That said I think gp's point is that if you ask for a doubly-linked list then you basically filter by having learned programming in school or not, or iow, if you told them how it was supposed to work instead of just saying the magic name then more of them would pass.