Topological Sort - Build a Matrix With Conditions
Given the following code snippet implementing topological sort positions, what is the final value of the
pos array after processing conditions = [[1,2],[1,3],[3,4]] with n=4?