Longest path in a DAG

Sign in to test your solution.