← Amazon questions

Min-stack design

Filed under Amazon

The question

Design a data structure for insertion, deletion, and getting the minimum element 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.