Domanda di colloquio di Citadel

How would you set state with a nested object