Bloomberg interview question

Implementing the LRU algo

Interview Answers

Anonymous

8 Mar 2015

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

Anonymous

18 Mar 2010

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