Created by: optimisea
Update the LRU cache which uses doubly LinkedList and HashMap. Usually, we prefer to remove from head and add the tail.
Created by: optimisea
Update the LRU cache which uses doubly LinkedList and HashMap. Usually, we prefer to remove from head and add the tail.