Pregunta de entrevista de Cyera

Describe how would you implement a data structure with setAll method with O(1) time efficiency.