Day 20: Pulse Propagation [AOC2023 Python] @0xdf
Day 20: Pulse Propagation [AOC2023 Python]  @0xdf
Uploaded December 2023 | Updated November 2026, 3 hours ago
For Advent of Code 2023 Day 20, I get a list of modules that propagate pulses either as high or low and change state based on what they receive. I'll use a queue (deque) to handle the propagations and in part one just count pulses. In part two, I have to do some input analysis to understand what I'm looking for, and then find cycles on four modules. Knowing their cycle lengths, I can calculate the LCM to get the time they all line up to give the desired output.

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

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

[00:00] Part 1 description
[02:53] Input analysis
[03:54] Module class init
[07:01] System class init
[09:43] Validating System
[12:28] System.push
[19:52] Debugging example
[20:44] Adding loops to push
[21:03] Solve part 1
[22:51] Part 2 description
[23:41] Getting info about rx
[27:40] Tracking pulses to previous module
[31:17] Cheat solve part 2
[32:22] Code solve part 2
[37:12] Allowing part2 to run until cycle
[39:08] Summary

#adventofcode #python
Day 20: Pulse Propagation [AOC2023 Python]Malicious LNK File Analysis0o337 [0xff: One Last Address]HackTheBox Napper: Read Elastic, Generate Key, Decrypt Blob in GolangExploring a Simple Ruby Web Application [HackTheBox Precious Beyond Root]OnlyHacks [HackTheBox Web Challenge]Reactor [AOC2025 Day 11]Insane Bolt [HackTheBox - Coding Challenge]NovaEnergy - HackTheSystem CTFUsing GitHub to Look at Source for a CVE [HackTheBox - Forgot]Lobby [AOC2025 Day 3]AWS CLI (Very) Intro [Sans Holiday Hack 2022 - Cloud Ring]
0xdf |

Day 20: Pulse Propagation [AOC2023 Python]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER