← Back to experiences
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/experiences/…$
Level: Unknown Level
Round: Phone Screen · Type: Coding · Difficulty: 7/10 · Duration: 60 min · Interviewer: Unfriendly
Topics: Caching, LRU Cache, Concurrency, API Design
Location: Los Gatos, CA
Interview date: 2025-08-15
Got offer: False
I had a technical phone screen where I needed to implement a key-value cache with expiration. First, I implemented lazy deletion and discussed how to avoid out-of-memory errors. Then I had to create another thread to delete expired data and discuss how to handle fixed size requirements using LRU. Finally, we discussed API design.
The coding question I received was to implement an expiring key-value cache.
My Approach:
Key Insights: