AT&T Interview Question

Weighted graph question, probably a Dijkstra-type problem.