Frage im Vorstellungsgespräch bei Amazon

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

Antwort im Vorstellungsgespräch

Anonym

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