Implement an LRU cache | Google Interview Question