Our great sponsors
-
adventofcode
Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala (by sim642)
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
If you want to join me, please do! I'm posting all the code on GitHub, including my little lib/aoc module. I encourage you to join us on Discord too, where we can strategize and commiserate. See you there!
Day 4 was the first time I attempted to actually compete, for time, in the Advent of Code contest. I didn't do that well — it took me over 6 minutes to complete part A, which gave me a rank of 2181. I did much better on part B, with a total time just over 7 minutes and a rank of 1248. Read on to the end to see some ways I hope to improve in future challenges.