Pregunta de entrevista de TuSimple

Question about manipulating data structures