If I was the interviewer I'd just check how they go about it - do they just start typing or do they read the docs, that's a big one right there. I wouldn't expect bug free code, just a reasonable attempt, clean code, and something that generally works because a LRU cache is really simple.
I disagree it's useless - if I have a senior developer, they better know how to do the basics. Otherwise what are they good for?
I disagree it's useless - if I have a senior developer, they better know how to do the basics. Otherwise what are they good for?