Amazon Interview Question

similar to the network delay problem on leetcode. dry run, corner case, complexity