Topological Sort

Revision en2, by _notpalindrome_, 2018-10-20 21:37:47

Recently I have learned topological sort using defth first search(dfs). I am trying to solve the problem for a while but cant understand, What should be my first approach? Can anyone explain me step by step. Any hint would be greatly appreciated. Thanks. :) Problem Link:

Tags topological sort


  Rev. Lang. By When Δ Comment
en2 English _notpalindrome_ 2018-10-20 21:37:47 6
en1 English _notpalindrome_ 2018-10-20 21:36:12 400 Initial revision (published)