Pregunta de entrevista de Two Sigma

Basic graph theory (BFS, DFS) and dynamical programming.