โ† Amazon questions

Custom Data Structure with O(1) Operations

Filed under Amazon

The question

Design a data structure that supports insert, delete, max, min, delete max, and delete min operations in preferred O(1) time complexity, handling duplicate elements.

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

Related Amazon questions

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