โ† PayPal questions

Design a Configurable Cache with Eviction Policy

Filed under PayPal

The question

Design a cache that stores key-value pairs where the eviction policy and capacity are configurable, adhering to SOLID principles and Design Patterns.

No write-up yet. Related questions below have one.

Related PayPal questions

Collected from public candidate posts and coding forums. Updated Nov 2026.