LRUCache solution