Day 16: The Floor Will Be Laba [AOC2023 Python] @0xdf
Day 16: The Floor Will Be Laba [AOC2023 Python]  @0xdf
Uploaded December 2023 | Updated November 2026, 1 day ago
For Advent of Code 2023 Day 16, I get a grid representing open space with mirrors in it. A beam enters the grid and bounces off of and splits when hitting these mirrors. I'll track the beam through the grid, first from the top right corner, and then from each possible entry location.

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

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

[00:00] Part 1 description
[01:40] Input analysis
[02:35] Breadth-first fill
[03:35] Loop queue, move and check bounds
[05:20] Handle turns
[11:45] Add next to queue
[12:24] Debugging small errors
[13:55] Debugging bad turns
[15:37] Solve part 1
[16:21] Part 2 description
[16:40] Refactor part 1 as function
[18:12] Looping over all entry points
[20:00] Solve part 2
[20:15] Summary

#adventofcode #python
Day 16: The Floor Will Be Laba [AOC2023 Python]Bridge Repair [Day 7 - Advent of Code 2024 - Python]Day 14: Parabolic Reflector Dish [AOC2023 Python]Day 23 - Safe Cracking [Revival of Code 2023 - Advent of Code 2016]Oddly Even [HackTheBox - Coding Challenge]Free AI HTB TutorDay 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]
0xdf |

Day 16: The Floor Will Be Laba [AOC2023 Python]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER