Skip to content

Conversation

@truggeri
Copy link
Owner

Summary

Solved day 8. First iterate over the input to find all the towers, then iterate through each list of frequency towers, creating a pair of antinodes for each pair of towers. Only those antinodes on the map are added to a set (created using a map).

I used package state to store the size of the puzzle, which is reset each time the parseInput method is called.

@truggeri truggeri self-assigned this Dec 19, 2024
@truggeri truggeri merged commit 2a31566 into main Dec 19, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants