Sandro CURY CAZZANIGA Kharec
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 09:51:24 +01:00
8f265eae05 feat: add per-year aggregator packages so main.go remains readable
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 07:48:51 +01:00
fe20a0b654 feat: solve part two using a bit of bruteforce
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 07:35:55 +01:00
aa80e4eb8e revert: remove useless helper as PartOne and PartTwo will have a different behavior
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 07:20:02 +01:00
0d029f2861 feat: unify invalid checks with exactTwo boolean parameter
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 06:53:52 +01:00
edf94432f4 test: add unit test for part two
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 06:52:33 +01:00
33552358f8 feat: solve p1
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 06:46:46 +01:00
45d3e93a93 test: add unit test for p1
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 06:37:09 +01:00
707f34e706 feat: include 2025D2
Kharec pushed to main at Kharec/advent-of-code 2025-12-02 06:27:25 +01:00
a05450c73a chore: add 2025D2 dataset
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 23:20:39 +01:00
6b95f5ced0 test: add an almost arbitrary test for p2
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 23:11:44 +01:00
9caee546f0 feat: solve part two by overriding wire b and re-evaluating circuit
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 23:09:33 +01:00
8e831d85fe fix: replace Split with SplitSeq as it's a loop (thanks lsp)
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 23:08:26 +01:00
b8ab5fae7b test: updateInput to simulate new ParseInput output
3262d1cbb8 refactor: build instruction in ParseInput and add evaluateWire helper
Compare 2 commits »
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 22:59:32 +01:00
766ee97dd3 feat: solve part one using recursion and memoization
c41c96e628 test: add unit test for p1, based on manual calculations
Compare 2 commits »
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 22:48:59 +01:00
fb46fceb75 refactor: just moving code here and there
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 22:44:48 +01:00
c9fe217e4b feat: include 2015D7
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 22:43:27 +01:00
d88d64edd4 chore: 2015D7 dataset
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 21:53:52 +01:00
e81194721c refactoring: just better naming
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 21:31:55 +01:00
a680e0ba48 refactor: create parseInstruction and instruction{} to use it in both parts
Kharec pushed to main at Kharec/advent-of-code 2025-12-01 21:28:30 +01:00
345defec4d feat: solve p2