Day 11: Cosmic Expansion [AOC2023 Python] @0xdf
Day 11: Cosmic Expansion [AOC2023 Python]  @0xdf
Uploaded December 2023 | Updated November 2026, 3 hours ago
For Advent of Code 2023 Day 11, I get a map of galaxies in space. I need to get the manhattan distance between each pair and sum that. The twist is that any empty row or empty column counts for more than one space. In part 1, it's double. In part 2, it's a millions times!

Code 2023 AOC: gitlab.com/0xdf/aoc2023
Challenge Link: adventofcode.com/2023/day/11

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

[00:00] Part 1 description
[01:10] Input
[02:07] Getting Galaxies
[03:46] Getting empty rows and cols
[05:58] Looping over galaxy pairs
[06:56] get_dist function
[08:32] Testing get_dist
[10:44] Solving ex and part 1
[11:03] Part 2 description
[11:16] Updating scale factor
[11:36] Solve part 2

#adventofcode #python
Day 11: Cosmic Expansion [AOC2023 Python]Exploring the HackTheBox TwoMillion PHP Application [Beyond Root]Day 4: Scratchcards [AOC2023 Python]New: HackTheBox Guided Mode!Python Script to Read Files on Encoding [HackTheBox]Brute Forcing a Web Pin - Frosty Keypad [Sans Holiday Hack 2024]Printing Department [AOC2025 Day 4]PowerShell Challenge [Sans Holiday Hack 2024]Scanning UDP with nmapReading (Almost) A Million QRCodes [Hackvent 2022 - Day 16]Day 1: Trebuchet?! [AOC2023 Python]Monkey Market [Day 22 - Advent of Code 2024 - Python]
0xdf |

Day 11: Cosmic Expansion [AOC2023 Python]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER