Amazon Interview Question

Design a function that finds a tree path with the lowest total value.