Byte Depth
← All tags

#Cache

3 articles

Low Level Design

Design an LRU Cache

Build a fixed-capacity cache with O(1) get and put using a HashMap and a doubly linked list, with a pluggable eviction engine that cleanly separates storage from access-order tracking.

Medium·Aug 13, 2026·12 min read
Low Level DesignOOPDesign Patterns

DSA

LFU Cache

Stacks & Queues. Time O(1).

Hard·Aug 8, 2026
DSAStackQueue

DSA

LRU Cache

Design. Time O(1).

Medium·Aug 8, 2026
DSADesignLeetCode🏢 Amazon
© 2026 ByteDepth. All rights reserved.Built with care for curious engineers.