Skip to content
Onsite

Build a cache library with pluggable eviction and TTL

MediumP1Build

Design and implement a cache library with pluggable eviction and TTL in Node.js.

Time box: 75 to 90 minutes. O(1) operations and clean strategy boundaries are the point.

Requirements

0 / 7

Stretch goals

0 / 3

Only after every requirement works.

Hints

Workspace

Your files are saved in this browser as you type.

When every requirement works, mark it complete to count it as solved.

Solution notes

How a strong candidate structures it, and what interviewers check.

Saved automatically