Topological Sort - Build a Matrix With Conditions
Given the final position arrays pos_row = [0, 2, 1] and pos_col = [1, 0, 2] for elements 1, 2, 3 respectively, which of the following sets of conditions could have produced these positions?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions