Pergunta de entrevista da empresa TuSimple

Question about manipulating data structures