Pregunta de entrevista de SigTuple

basic problem solving, data structures