Implement Persistent Memoization LRU Cache

Read the full interview experience this question came from →

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

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.

Read the full Anthropic Software Engineer interview experience this question came from

Anthropic logo
Anthropic
May 23, 2026
hardSoftware EngineerOnsiteCoding & Algorithms
13
0
Loading...