Commit graph

6 commits

Author SHA1 Message Date
5e2efe6688
fix: read from input once
Refactored the code for the Day 2 solutions so that the input file is
only read once.
2023-12-02 17:46:44 +00:00
b8dba2d4e4
feat: add solution for 2023, Day 2: Cube Conundrum 2023-12-02 17:00:27 +00:00
648ebcab4e
refactor: formatting with gofmt 2023-12-01 17:28:33 +00:00
fcc2ad5666
perf: use trimLength to reduce recursion
Add trimLength to trim all but the last character of the detected
integers in text form. The last character is not trimmed during
recursion because it may be part of the next integer.

This should reduce the amount of recursion needed to complete the
calculation.
2023-12-01 17:21:34 +00:00
7384a04590
docs: updated README 2023-12-01 15:04:58 +00:00
d7a3348bfc
Initial commit 2023-12-01 15:03:51 +00:00