Commit Graph

59 Commits

Author SHA1 Message Date
0ad418ed1f feat: register d13 2025-12-08 17:39:35 +01:00
879509c7ba refactor: rename parameter 2025-12-08 11:40:08 +01:00
79d9f8d7cc feat: solve part two using json and recursive approach 2025-12-04 21:10:42 +01:00
bcc4fc3432 test: add unit testing for part two 2025-12-04 21:00:19 +01:00
cc2d7d1a3d feat: solve part one using basic regex parsing 2025-12-04 20:59:09 +01:00
83f6db5e33 test: unit tests case for p1 2025-12-04 20:54:43 +01:00
12b54d51d2 feat: include D12 2025-12-04 20:44:48 +01:00
77a352aa2e feat: solve part two using the same logic, twice 2025-12-04 16:53:15 +01:00
fd6db0cc65 refactor: add code in helpers for part two 2025-12-04 16:52:28 +01:00
2b548fa1ef feat: solve part one with pruned bruteforce 2025-12-04 16:49:43 +01:00
e0465b9b8d clean: no test cases for this day 2025-12-04 16:32:43 +01:00
e341c12763 feat: include D11 2025-12-04 16:24:14 +01:00
b9928789df feat: solve day10 using traditionnal look and say 2025-12-02 23:12:11 +01:00
b7aafeec52 test: no test 2025-12-02 23:11:09 +01:00
a935e35d82 feat: include 2015D10 2025-12-02 23:08:47 +01:00
e3a47b0e16 feat: solve part two 2025-12-02 22:13:31 +01:00
86370f27c8 refactor: create functions that we gonna use for part two 2025-12-02 22:10:12 +01:00
c61e573e14 test: add unit test for part two 2025-12-02 21:57:27 +01:00
d16f70cf00 feat: solve part one with brute-force and permutation enumeration 2025-12-02 21:56:06 +01:00
6f7561213e test: add unit test for part one 2025-12-02 21:52:56 +01:00
94b15548cf feat: include 2015D9 2025-12-02 21:23:49 +01:00
035e56bf53 feat: solve part two 2025-12-02 21:21:49 +01:00
61cf84aa8a test: add unit test for part two 2025-12-02 20:39:54 +01:00
5513ae8386 feat: solve part one using basic parsing 2025-12-02 20:38:20 +01:00
f1730c30cb feat: register D8 and parse input 2025-12-02 20:14:37 +01:00
ce7d42621f test: add unit test for part one 2025-12-02 20:13:01 +01:00
8eafb1f7c5 feat: include 2015D8 2025-12-02 19:55:26 +01:00
8f265eae05 feat: add per-year aggregator packages so main.go remains readable 2025-12-02 09:51:21 +01:00
6b95f5ced0 test: add an almost arbitrary test for p2 2025-12-01 23:20:37 +01:00
9caee546f0 feat: solve part two by overriding wire b and re-evaluating circuit 2025-12-01 23:11:41 +01:00
8e831d85fe fix: replace Split with SplitSeq as it's a loop (thanks lsp) 2025-12-01 23:09:30 +01:00
b8ab5fae7b test: updateInput to simulate new ParseInput output 2025-12-01 23:08:22 +01:00
3262d1cbb8 refactor: build instruction in ParseInput and add evaluateWire helper 2025-12-01 23:07:29 +01:00
766ee97dd3 feat: solve part one using recursion and memoization 2025-12-01 22:59:28 +01:00
c41c96e628 test: add unit test for p1, based on manual calculations 2025-12-01 22:59:05 +01:00
fb46fceb75 refactor: just moving code here and there 2025-12-01 22:48:56 +01:00
e81194721c refactoring: just better naming 2025-12-01 21:53:50 +01:00
a680e0ba48 refactor: create parseInstruction and instruction{} to use it in both parts 2025-12-01 21:31:51 +01:00
345defec4d feat: solve p2 2025-12-01 21:28:27 +01:00
3756279dab test: add unit test for p2 2025-12-01 20:52:57 +01:00
70189f4295 feat: solve part one 2025-12-01 20:47:02 +01:00
cdacf7ae06 test: add unit test for p1 from paper calculation 2025-12-01 20:46:55 +01:00
8ad1b166f3 feat: add both solutions 2025-11-29 16:07:02 +01:00
9521677ca8 test: add unit tests for both parts 2025-11-29 16:06:42 +01:00
a0ce63e5a5 feat: solve d4 both parts using md5 bruteforce 2025-11-29 09:57:54 +01:00
a12c8df252 test: add unit tests for both parts 2025-11-29 09:57:23 +01:00
da78d01d9f test: standardization 2025-11-29 09:39:33 +01:00
ff4b7b281c feat: add p2 solution 2025-11-28 17:59:03 +01:00
a3f54530f6 test: add unit test for p2 2025-11-28 17:56:35 +01:00
301d93157c feat: add part one solution 2025-11-28 17:51:51 +01:00