Topological Sort - Sequence Reconstruction (Unique Topo Order)
Given the following code snippet implementing DFS postorder topological sort for sequence reconstruction, what is the return value for org = [1,2,3] and seqs = [[1,2],[1,3]]?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions