LinkedIn logoLinkedIn
CodingMembers

Insert Delete GetRandom O(1) (LC 380) with a Variant

Members only

A randomized data-structure design question from a LinkedIn Staff phone screen, asked after a behavioral opener. Every operation carries a strict cost requirement, so the bar is a design whose invariants hold across all of them.

SWE
hashmap
array
data-structure
medium
Frequency
Single report
Last asked
2026-10-16
Stage
phone-screen

Members get

  • Full problem statement
  • Step-by-step approach
  • 2 common pitfalls
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...