86fd297d5b
refactor(Day 1): Updated code structure for Day 1
...
- Moved parts 1 and 2 under one directory.
- Updated test suite for Day 1.
2023-12-04 18:43:57 +00:00
bd36605f3e
tests: update test suite for Day 2
2023-12-04 18:02:44 +00:00
53c58fa8c0
feat: add solution for 2023, Day 4
...
/ test (pull_request) Successful in 27s
- Add the solution and the test suite for the Advent of Code,
2023 - Day 4: Scratchcards
- style: applied gofmt for formatting
2023-12-04 17:36:05 +00:00
0f1ee8c599
refactor(Day 3): updated Day 3 solution code
...
- added a custom function to check if a rune is a symbol.
- changed name of type 'answer' to 'solution'.
- ci(forgejo actions): updated setup-go from v3 to v4.
2023-12-04 13:10:03 +00:00
5af35d0ccc
feat: add solution for 2023, Day 3
...
/ test (pull_request) Successful in 24s
Add the solution and test suite for AoC 2023, Day 3: Gear Ratios
2023-12-04 01:26:50 +00:00
064b0a5abe
fix: use the constant value for 'blue'
/ 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