Solved LRU cache.