Topological Sort - Sequence Reconstruction (Unique Topo Order)
Suppose the problem is extended so that sequences may contain repeated elements and cycles can appear. Which approach modification is necessary to correctly reconstruct the unique sequence?
