Amazon Interview Question

An easy implementation problem and a classic articulation points in a graph problem