Implement a size-bounded LRU cache

Quick Overview

This question evaluates a candidate's ability to design and implement efficient data structures for capacity-bound caching, focusing on handling variable-sized items, eviction policies, and maintaining O(1) average get/put invariants.

Implement a size-bounded LRU cache

Company: Snapchat

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Onsite

Quick Answer: This question evaluates a candidate's ability to design and implement efficient data structures for capacity-bound caching, focusing on handling variable-sized items, eviction policies, and maintaining O(1) average get/put invariants.

|Home/Coding & Algorithms/Snapchat
Snapchat logo
Snapchat
Jan 2, 2026, 12:00 AM
hardSoftware EngineerOnsiteCoding & Algorithms
3
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...