Domanda di colloquio di Amazon

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

Risposta di colloquio

Anonimo

15 feb 2025

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