← Amazon questions

Design Data Structure

Filed under Amazon · Also reported at ServiceNow

The question

Design a data structure supporting insert, delete, search, and getRandom in O(1).

No write-up yet. Related questions below have one.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.