https://adventofcode.com/2023/day/1
Try to work out the problem yourself before looking at other people's solutions.
I'm still working out part 2 of day one myself. I should have it up in a bit now that I've identified a better strategy. But I may as well share my part 1 now:
https://lab.gvid.tv/x0x7/AdventOfCodeSolutions/src/branch/main/2023/Day+1/part1.js
I'm still working out part 2 of day one myself. I should have it up in a bit now that I've identified a better strategy. But I may as well share my part 1 now:
https://lab.gvid.tv/x0x7/AdventOfCodeSolutions/src/branch/main/2023/Day+1/part1.js