Pergunta de entrevista da empresa Bloomberg

Implementing the LRU algo

Respostas da entrevista

Sigiloso

18 de mar. de 2010

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

Sigiloso

8 de mar. de 2015

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