r/adventofcode • u/daggerdragon • Dec 07 '15
SOLUTION MEGATHREAD --- Day 7 Solutions ---
--- Day 7: Some Assembly Required ---
Post your solution as a comment. Structure your post like previous daily solution threads.
Also check out the sidebar - we added a nifty calendar to wrangle all the daily solution threads in one spot!
23
Upvotes
View all comments
Show parent comment
2
u/[deleted] Dec 08 '15
That’s an interesting question. How does topological sort behave on graphs which have components both with and without cycles.
Does it compute the sorted order correctly for the acyclic components? I don’t know ¯_(ツ)_/¯ Do you have any idea?