RSSAmplifier

Baerentsen.space

Advent of Code 2025 - Day 9: Movie Theater

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Day 9 was about finding the largest rectangle between red tiles on a theater floor. Part 1 was straightforward geometry. Part 2 required checking if rectangles fit inside a polygon - which is where I reached for an external library. Part 1: Largest Rectangle Between Any Two Points Given coordinates of red tiles, find the largest rectangle using any two red tiles as opposite corners. This is pure…

Read on baerentsen.space

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.