Design O(1) data structure
Filed under AppDynamics
The question
Design a data structure that supports Insert, Delete, Contains, and GetRandom in O(1) time.
No write-up yet. Related questions below have one.
Related AppDynamics questions
Collected from public candidate posts and coding forums. Updated Nov 2026.