Key-Value Store with getLast

Asked at SoFi · Coding Questions · Difficulty: Medium · Last asked Jul 14, 2025

Design and implement an in-memory key-value store supporting add, get, remove, and getLast, where get does not update recency.

Loading the problem…