Design multi-level cache data service
Filed under Paytm
The question
Design a system with a DataService class containing three caches (C1, C2, C3) and a getData(id) method using the Chain of Responsibility pattern.
No write-up yet. Related questions below have one.
Related Paytm questions
Collected from public candidate posts and coding forums. Updated Nov 2026.