Resonant Collinearity [Day 8 - Advent of Code 2024 - Python] @0xdf
Resonant Collinearity [Day 8 - Advent of Code 2024 - Python]  @0xdf
Uploaded December 2024 | Updated November 2026, 3 hours ago
A grid challenge where I get a map of antenna each with a frequency. I'll group them by freqency, and find "antinodes" as defined in each part. In part 1, each pair of antenna generate two antinodes one on each side of the pair. In part 2, I extend this to look along the line between each pair as long as I'm on the given initial grid.

2024 AOC repo: gitlab.com/0xdf/aoc2024
2024 AOC Intro vide: youtube.com/watch?v=4XKZZrhhiQE
VSCode Debug video: youtube.com/watch?v=cNhtk2Ob4B8

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

[00:00] Part1 introduction
[01:50] Setup / data overview
[02:23] Parsing grid
[04:52] Looping over antenna pairs
[08:56] Filtering for in range
[09:37] Solving part 1
[10:09] Part 2 challenge
[10:40] Calculating part 2
[12:53] Solving part 2
[13:44] Conclusion
[13:52] Fixing len/sum issue

#adventofcode #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]Day 21 - Scrambled Letters and Hash [Revival of Code 2023 - Advent of Code 2016]Red-Nosed Reports [Day 2 - Advent of Code 2024 - Python]Decrypting AsyncRAT Configuration Values with CyberChefDay 13 - A Maze of Twisty Little Cubicles [Revival of Code 2023 - Advent of Code 2016]PCAP and Web Log Forensics [Sans Holiday Hack 2022 - Web Ring]Python Debugging [Chemistry - HackTheBox]Claw Contraption [Day 13 - Advent of Code 2024 - Python]
0xdf |

Resonant Collinearity [Day 8 - Advent of Code 2024 - Python]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER