r/codinginterview • • Jul 08 '19

LRU cache - a good coding interview question?

I am trying to refresh my interview questions (my current main question is not really good for the domain I'm in).

I am looking for a good question that will be language agnostic and that can be developed and discussed with a candidate.

I was thinking of asking the candidate to implement an LRU cache. Is this problem too common? Is it a good difficulty? I want a question that can start simply and be elaborated and made harder.

Would love to hear your opinion

4 Upvotes

0 comments sorted by