Build a Matrix With Conditions
Place each value in a row from one topological order and a column from another, so both sets of conditions hold.
Place each value in a row from one topological order and a column from another, so both sets of conditions hold.