Amazon interview question

LRU cache implementation