Find paths that the sum of nodes on the path equals to an expected sum.