Topological Sorting - Algorithms for Competitive Programming
A common problem in which topological sorting occurs is the following. There are n variables with unknown values. For some variables, we know that one of them is less than the other. You have to chec