Implement Persistent Memoization LRU Cache

Quick Overview

This question evaluates knowledge of memoization, LRU cache semantics, deterministic cache-key construction from positional and keyword arguments, JSON serialization, and efficient on-disk persistence with recoverable ordering.

Implement Persistent Memoization LRU Cache

Company: Anthropic

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Onsite

Quick Answer: This question evaluates knowledge of memoization, LRU cache semantics, deterministic cache-key construction from positional and keyword arguments, JSON serialization, and efficient on-disk persistence with recoverable ordering.

|Home/Coding & Algorithms/Anthropic
Anthropic logo
Anthropic
May 23, 2026, 12:00 AM
hardSoftware EngineerOnsiteCoding & Algorithms
9
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...