aboutsummaryrefslogtreecommitdiff
path: root/day1/README.md
blob: 0af1495fc8a280e43a23597ceceda291623b7c8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
## Day 1
Day 1 is pretty straight forward.

### Part One

Part one is just the sum of all frequencies. Nothing more to say.

### Part Two
In `found` we keep a list of all frequencies.
we keep our current frequency in `freq` and iterate over the change list
always adding our current frequency to the list and look out for the
current frequency.