tag:blogger.com,1999:blog-8522573717713847738.post2489483085231975598..comments2024-03-28T00:14:29.070-07:00Comments on Yu's Coding Garden : leetcode Question: Course Schedule IIAnonymoushttp://www.blogger.com/profile/00263085222060621782noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-8522573717713847738.post-28738833096240054552016-04-18T03:39:40.337-07:002016-04-18T03:39:40.337-07:00This is not BFS.
You are using stack, it's jus...This is not BFS.<br />You are using stack, it's just iterative implementation of Topological sort using DFS.Anonymoushttps://www.blogger.com/profile/03656475596240838394noreply@blogger.comtag:blogger.com,1999:blog-8522573717713847738.post-31704768614064599792016-04-18T03:38:32.013-07:002016-04-18T03:38:32.013-07:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/03656475596240838394noreply@blogger.comtag:blogger.com,1999:blog-8522573717713847738.post-86888572810449000912016-03-27T21:33:07.699-07:002016-03-27T21:33:07.699-07:00This is a good solution !! You could have also con...This is a good solution !! You could have also considered topological sort !!Anonymoushttps://www.blogger.com/profile/05779392360780193272noreply@blogger.com