Amazon interview question

Create a data structure to insert, update, delete, find a random value in 0(1) complexity

Interview Answer

Anonymous

Feb 15, 2025

Store the data in array and map simultaneously where map store the data as key and it's array index as value