Pregunta de entrevista de Microsoft

That question was base on Graph to link list conversion.