You need to cache data. Some data expires in 1 minute, some in 1 hour. How do you design this using OOP? | Real-World Design and Architecture Scenarios | OOPS Interview Questions | NextRound.in