AI Coding · Anthropic · Hard
LRU Cache (Python) CodingPhone · Onsite Software Engineer · Reported Jun, 2026 · High Frequency Basic Problem You are provided with an in-memory LRU (Least Recently Used) cache written in Python. Its cache-key construction contains a defect that must be corrected. The problem concerns the way the cache creates keys when a function receives variable-length positional arguments (args) and keyword arguments (*kwargs). Your work should: Examine the current cache and understand…
Checking your access…