Topological Answer for Leetcode 210 is backwards from the question

Hey All,

The LeetCode Question 210 explains:

"You are given an array prerequisites where prerequisites[i] = [a_i, b_i] indicates that you must take course b_i first if you want to take course a_i."

Therefore, prerequisites = [[1,0]], should result in a solution of [0, 1].

The answer video has this backwards, and it makes things more confusing!

Thanks,
Seth

Comments (2)