Amazon interview question

Implement a LRU cache.