Pregunta de entrevista de Bloomberg

Implementing the LRU algo

Respuestas de entrevistas

Anónimo

18 mar 2010

I used hash table with LRU for each bucket, writing code on the spot was really difficult

Anónimo

8 mar 2015

Simple (to write code for) solution would be to use queue - first in first out.