Course Schedule II

Try to solve the Course Schedule II problem.

Statement

Let’s assume that there are a total of nn courses labeled from 00 to n1n-1. Some courses may have prerequisites. A list of prerequisites is specified such that if Prerequisitesi=a,bPrerequisites_i = {a, b} ...