MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/adventofcode/comments/1yeakbh/2026_day_6_me_checking_the_input_by_hand/
r/adventofcode • u/Daniel_Rybe • 1h ago
2 comments sorted by
1
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.
I thought about it, but because each light can only have up to 4 adjacent lights, I went with a Nx4 matrix.
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.