Leetcode進階之路——LRU Cache C++三種解法

去年網易秋招面試的時候有一道現場手撕LRU的題,跟這道幾乎一樣,現記錄如下: 146. LRU Cache Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get
相關文章
相關標籤/搜索