Pregunta de entrevista de Flexport

Problem solving question about data structures.