Ask HN: Advent of Code Day 1 Solutions

1 points by eddsh1994 ↗ HN
Hey! Thought we could all show off our solutions to Advent of Code Day 1, so we can help each other with hints while we learn new languages.

I'll go first with my first time using Go (and solving it in 20 mins, so copying stack overflow quite heavily)!

https://github.com/EddSH1994/advent-of-code/blob/main/day001.go

2 comments

[ 4.8 ms ] story [ 19.0 ms ] thread
I know I shouldn't sort it in part two but it is faster to implement.