Google Interview Question

A difficult graph question on what seemed like Multi DFS and a simple DFS question.