Overview In this tutorial, we are also going to consider the FIFO approach in our design as well other than LRU so that the design is flexible enough to switch to any…
Tag: lru
Design an In-Memory Cache
Overview The objective is to Design an in-memory cache. Below are the requirements It should support Set and Get Operation O(1) Time Complexity for both Set and Get Assume the maximum capacity…