Commit graph

7 commits

Author SHA1 Message Date
064b0a5abe
fix: use the constant value for 'blue'
All checks were successful
/ test (pull_request) Successful in 27s
2023-12-03 01:31:50 +00:00
01118b683b
refactor(test): condense test table 2023-12-02 18:01:53 +00:00
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
d7a3348bfc
Initial commit 2023-12-01 15:03:51 +00:00