Low-Level DesignReported in a candidate post, Nov 2024
Design a Multi-Level Cache Management System
Filed under PhonePe
The question
Design and implement a cache management system with N levels (L1, L2, ..., Ln) where L1 has highest priority and Ln lowest. Each layer has specific capacity, read time, and write time. Implement operations: READ KEY (reads from top to bottom, writes found value to higher priority levels, calculates total time), WRITE KEY (writes to top level and all levels below it if not already present), and STAT (shows current usage and average read/write times for the last 5 operations).
No write-up yet. Related questions below have one.
Related PhonePe questions
Collected from public candidate posts and coding forums. Updated Nov 2026.