Blog
Tutorials, guides, and insights to help you become a better developer.
Build an LRU cache from scratch: doubly linked list + hashmap for O(1) get and put, eviction by access order, and a bounded memoize wrapper on top.
AdminJuly 31, 20266 min read