IBM interview question

Implement an LRU cache with O(1) get and put operations.