Pregunta de entrevista de Amazon

Reconstruct the set data structure with random access.