Day 25: Snowverload [AOC2023 Python] @0xdf
Day 25: Snowverload [AOC2023 Python]  @0xdf
Uploaded December 2023 | Updated November 2026, 3 hours ago
For Advent of Code 2023 Day 25, I get a bunch of nodes and wires connecting them. I'll read them into a Graph with the Python networkx library, and then use the Stoer-Wagner algorithm implemented in networkx to get the answer very easily.

Code 2023 AOC: gitlab.com/0xdf/aoc2023
Challenge Link: adventofcode.com/2023/day/25
Stoer-Wagner: en.wikipedia.org/wiki/Stoer%E2%80%93Wagner_algorithm
networkx: networkx.org
networkx stoer_wagner: networkx.org/documentation/stable/_modules/networkx/algorithms/connectivity/stoerwagner.html#stoer_wagner

☕ Buy Me A Coffee: buymeacoffee.com/0xdf

[00:00] Part 1 description
[01:33] Input analysis
[02:16] Install networkx in venv
[03:12] Prase lines into graph
[03:59] Stoer-Wagner
[05:50] Solve part 1
[06:28] Summary

#adventofcode #python
Day 25: Snowverload [AOC2023 Python]Day 5: If You Give A Seed A Fertilizer [AOC2023 Python]Finding and Fixing a Bug in Netexec NFSReflective XSS via Link Click / SSRF [Hackvent 2022 - Day 14]Troubleshooting proxychainsElf Connect - JavaScript Game Hacking [Sans Holiday Hack 2024]Day 22: Sand Slabs [AOC2023 Python]Resonant Collinearity [Day 8 - Advent of Code 2024 - Python]Antipattern [0xff: One Last Address]Day 12 - Leonardos Monorail [Revival of Code 2023 - Advent of Code 2016]Hacking Luggage Lock [Sans Holiday Hack 2023]Code Chronicle [Day 25 - Advent of Code 2024 - Python]
0xdf |

Day 25: Snowverload [AOC2023 Python]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER