Questions / Commure

LRU Cache with TTL

Asked at Commure · Coding Questions · Difficulty: Medium

Design and implement an **LRU (Least Recently Used) cache** where each entry also has a **TTL (time-to-live)**.

Loading the problem…

More Commure interview questions

  • Filter SIM Records by Attributes
  • Implement LRU Cache with TTL and Rate Limiter
  • Filter Sims by Conditions
  • Two-Team Turn-Based Battle Simulator
  • Toy Language Type System
  • Grid Infection and Immunity Simulation
All Commure questions