Versions in this module Expand all Collapse all v0 v0.1.0 Aug 14, 2020 Changes in this version + type LRUCache struct + func NewLRUCache(capacity int) LRUCache + func (c *LRUCache) Get(key int) int + func (c *LRUCache) Put(key int, value int) + type LRUListCache struct + HashMap map[int]*Node + func NewLRUListCache(capacity int) LRUListCache + func (c *LRUListCache) Get(key int) int + func (c *LRUListCache) Put(key int, value int) + type Node struct + Key int + Value int + type Pair struct