Grammarly logoGrammarly
Coding·60 minMembers

Time-Based Key-Value Store (LC 981)

Members only

A Grammarly phone-screen design question around storing and querying values over time. A straightforward first version is accepted, but the interviewer quickly asks for a faster lookup, and boundary handling there is where candidates slip.

SWE
hashmap
binary-search
medium
Frequency
Low
Last asked
2026-03-14
Stage
phone-screen

Members get

  • Full problem statement
  • Step-by-step approach
  • 2 common pitfalls
  • 1 follow-up question with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...