Anthropic logoAnthropic
Coding·55 minMembers

Coding Q2 — In-Memory Cache: Bug-Fix + Durability

Members only

A pre-written `LRU` class wrapping a generic callable is provided. Part 1: find the bug in `generate_key` (it doesn't correctly hash `*args/**kwargs`). Part 2: extend the cache to survive process cras...

SWE
MLE
caching
persistence
python
kwargs
medium
Frequency
High
Last asked
2026-06-04
Stage
phone-screen · onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...