LinkedIn Interview Question

Target Sum between continuous nodes in any direction.