Pregunta de entrevista de Goldman Sachs

How would you implement lru cache?