Pergunta de entrevista da empresa Choose Energy

Write methods to add remove and findRandom to a data structure and all should perform in O(1)

Resposta da entrevista

Sigiloso

22 de abr. de 2016

There solution was to save object in an array list and use the index as a key into a hash map using index as key and object as value for the map.