Pregunta de entrevista de Citadel

How would you set state with a nested object