advent-of-code-2017 icon indicating copy to clipboard operation
advent-of-code-2017 copied to clipboard

Day 7 logic issue?

Open glguy opened this issue 7 years ago • 0 comments

I think your Day 7 implementation fails to calculate the solution to this input

a (1) -> b, c
b (2) -> d1, e1
c (10)
d1 (1) -> d
e1 (1) -> e
e (3)
d (2)

which I would expect to be 2 because the tree can be fixed by changing node d1 to 2

glguy avatar Dec 08 '17 23:12 glguy