ParentFull threadomarish·Yup, Bellman Ford is the algorithm we had in mind for this puzzle. It's similar to Dijkstra's algorithm, but deals with negative costs as well.(I work at Priceonomics)View on HN