Design a computer system with multiple levels of Cache
Filed under Flipkart
The question
Design a tiered computer cache system with L1, L2, and L3 levels where levels can be added or removed. Each cache has distinct properties like capacity, read time, write time, and evictions. Support Get Key (starts at L1, propagates upwards if found or goes deeper if not), Set Key (adds to L1 if not present, bounces back if already in a deeper level), and STATS operations (average read/write times for the last N operations, free capacity, total evictions).
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.