Pregunta de entrevista de LinkedIn

Target Sum between continuous nodes in any direction.