Design a Recency-Eviction Cache

Quick Overview

This question evaluates proficiency with data structures and algorithmic design for implementing a fixed-capacity key-value cache that enforces recency-based eviction while meeting average O(1) get and put performance.

Design a Recency-Eviction Cache

Company: Pinduoduo

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Quick Answer: This question evaluates proficiency with data structures and algorithmic design for implementing a fixed-capacity key-value cache that enforces recency-based eviction while meeting average O(1) get and put performance.

|Home/Coding & Algorithms/Pinduoduo
Pinduoduo logo
Pinduoduo
Feb 21, 2026, 12:00 AM
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
5
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...