Movie Theater [AOC2025 Day 9] @0xdf
Movie Theater [AOC2025 Day 9]  @0xdf
Uploaded December 2025 | Updated November 2026, 3 hours ago
Advent of Code 2025 Day 9 processing the verticies of a polygon. First I'll loop over each pair of corners and find the largest possible square that can be made. Then I'll have to do that again, but only counting a square as valid if it falls entirely inside the polygon. I'll use ray finding and edge checking to get a solution. Claude solves it the same way, but does try the slow incorrect solution first.

Solutions Repo: gitlab.com/0xdf/aoc2025
VSCode Debug Setup: youtube.com/watch?v=cNhtk2Ob4B8
Claude: claude.ai

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

[00:00] Introduction
[01:44] Pulling / examining input
[02:26] Processing points
[03:14] Looping over pairs of points
[04:52] Solving part 1
[06:30] Part 2 introduction
[07:38] Checking if single polygon
[09:12] Implementing ray finding
[12:38] Testing ray finding
[13:47] Making bad square_valid
[15:47] Trying to run, too slow, adding caching
[16:32] Showing potential solution
[18:37] Solving part 2
[19:02] Solving with Claude
[23:00] Analysis of Claude's solution
[24:34] Conclusion

#AdventOfCode #claude
Movie Theater [AOC2025 Day 9]Hoof It [Day 10 - Advent of Code 2024 - Python]Build an HTTP Proxy to Abuse SSRF [HackTheBox - Response]Chronospatial Computer [Day 17 - Advent of Code 2024 - Python]LFI into RCE Abusing NGINX Temp Files [PikaTwoo - HackTheBox]Day 13: Point of Incidence [AOC2023 Python]Day 12: Hot Springs [AOC2023 Python]Day 4 - Security Through Obscurity [Revival of Code 2023 - Advent of Code 2016]Day 2: Cube Conundrum [AOC2023 Python]Day 15 - Timing is Everything [Revival of Code 2023 - Advent of Code 2016]Chrome Local Overrides [Snowball Showdown - Sans Holiday Hack 2024]Day 18: Lavaduct Lagoon [AOC2023 Python]
0xdf |

Movie Theater [AOC2025 Day 9]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER