Introduction - If you have any usage issues, please Google them yourself
This a comparison of the two topological sorting algorithm, one needs to determine the ring structure algorithm is too complex, but another idea Interested students can modify it to read, if successful, please contact me, and the other is the standard answer.