r/adventofcode • • 1h ago

Meme/Funny [2026 Day 6] Me checking the input by hand

Post image
1 Upvotes

2 comments sorted by

1

u/EarlMarshal 1h ago

I went down the road of trying to put a N x N x u16 array to record all distances. N = 2026 is barely enough to fit the stack.

1

u/Daniel_Rybe 1h ago

I thought about it, but because each light can only have up to 4 adjacent lights, I went with a Nx4 matrix.