Pregunta de entrevista de Microsoft

Problem-solving, Trees, hashmaps, two pointers.