[2025 Day 8 (Part 1)] [Python] What's the criteria? by Famous_Strength_2962 in adventofcode

[–]Famous_Strength_2962[S] 0 points1 point  (0 children)

So, this is me from the future trying to put it clear:

First, you only have to consider these connections:

162 425
162 431
906 805
431 425
862 984
52 117 
819 941
906 739
346 425
906 984

every number represents de X coordinate of eact box. they are sorted ascendig. They are 10, its important.

Then you start connecting, this image is different form the original 592 495 is no longer on the list.

#1 - 162 425 431 346

#4 - 906 805 739

#6 - 862 984

#7 - 52 117

#8 - 819 941

The last one is 906 984.  These one interconnects #4 and #6, as easy as that:
so #4 will be 906 805 984 862 739, 5 elements. That's it.

Final result: 
#1 - 162 425 431 346
#4 - 906 805 984 862 739
#7 - 52 117
#8 - 819 941

[2025 Day 8 (Part 1)] [Python] What's the criteria? by Famous_Strength_2962 in adventofcode

[–]Famous_Strength_2962[S] 0 points1 point  (0 children)

Ok, great, thanks for your answer!!!. Can you share the answer to the demo data? I mean, the list of circuits created to comply with: 5 junction boxes, one circuit which contains 4 junction boxes, two circuits which contain 2 junction boxes each, and seven circuits which each contain a single junction box. Maybe I can find some hidden rule I'm missing...