Meta Interview Question

Basic graph problem, dp problem