Pregunta de entrevista de iHerb

How would you implement a LRU cache?