Commit Graph

222 Commits

Author SHA1 Message Date
Kharec e0465b9b8d clean: no test cases for this day 2025-12-04 16:32:43 +01:00
Kharec 0523610080 chore: 2015D11 dataset 2025-12-04 16:24:24 +01:00
Kharec e341c12763 feat: include D11 2025-12-04 16:24:14 +01:00
Kharec 6cff0b7931 feat: solve part two with iterative process 2025-12-04 07:05:56 +01:00
Kharec f5bfe1e578 test: unit test for part two 2025-12-04 06:48:41 +01:00
Kharec 0fbe2956c3 refactor: didn't press :w it seems 2025-12-04 06:46:28 +01:00
Kharec 9280430285 feat: solve part one using prebuilt map for rolls 2025-12-04 06:45:40 +01:00
Kharec b91e34bc8e test: add unit test for part one 2025-12-04 06:32:20 +01:00
Kharec 9f10576a0c feat: include 2025D4 2025-12-04 06:30:23 +01:00
Kharec 8a9f4cb506 chore: add 2025D4 dataset 2025-12-04 06:29:55 +01:00
Kharec b39b8c885b feat: solve part two, still with greedy algorithm 2025-12-03 10:36:14 +01:00
Kharec 56901ca553 test: add unit test for part two 2025-12-03 10:10:45 +01:00
Kharec e3c9da9621 feat: solve part one using a prebuild list to reduce comparisons 2025-12-03 10:09:13 +01:00
Kharec 070bd8be9a fix: modify test, we're parsing [][]int instead of []string for this day 2025-12-03 09:57:12 +01:00
Kharec c1ba2ca02b test: add unit test for part one 2025-12-03 09:28:42 +01:00
Kharec 146b63706a feat: include 2025D3 2025-12-03 09:26:32 +01:00
Kharec 1421062a75 chore: 2025D3 dataset 2025-12-03 09:26:19 +01:00
Kharec b9928789df feat: solve day10 using traditionnal look and say 2025-12-02 23:12:11 +01:00
Kharec b7aafeec52 test: no test 2025-12-02 23:11:09 +01:00
Kharec a935e35d82 feat: include 2015D10 2025-12-02 23:08:47 +01:00
Kharec e2c2d0df71 chore: 2015D10 dataset 2025-12-02 22:56:27 +01:00
Kharec e3a47b0e16 feat: solve part two 2025-12-02 22:13:31 +01:00
Kharec 86370f27c8 refactor: create functions that we gonna use for part two 2025-12-02 22:10:12 +01:00
Kharec c61e573e14 test: add unit test for part two 2025-12-02 21:57:27 +01:00
Kharec d16f70cf00 feat: solve part one with brute-force and permutation enumeration 2025-12-02 21:56:06 +01:00
Kharec 6f7561213e test: add unit test for part one 2025-12-02 21:52:56 +01:00
Kharec 94b15548cf feat: include 2015D9 2025-12-02 21:23:49 +01:00
Kharec 4e9e2b399c chore: add 2015D9 dataset 2025-12-02 21:23:24 +01:00
Kharec 035e56bf53 feat: solve part two 2025-12-02 21:21:49 +01:00
Kharec 61cf84aa8a test: add unit test for part two 2025-12-02 20:39:54 +01:00
Kharec 5513ae8386 feat: solve part one using basic parsing 2025-12-02 20:38:20 +01:00
Kharec f1730c30cb feat: register D8 and parse input 2025-12-02 20:14:37 +01:00
Kharec ce7d42621f test: add unit test for part one 2025-12-02 20:13:01 +01:00
Kharec 8eafb1f7c5 feat: include 2015D8 2025-12-02 19:55:26 +01:00
Kharec 81be03e8ee chore: add 2015D8 dataset 2025-12-02 19:54:54 +01:00
Kharec d662f693b8 feat: don't bruteforce every number, use recursion to generate patterns to look for 2025-12-02 18:09:45 +01:00
Kharec 8f265eae05 feat: add per-year aggregator packages so main.go remains readable 2025-12-02 09:51:21 +01:00
Kharec fe20a0b654 feat: solve part two using a bit of bruteforce 2025-12-02 07:48:48 +01:00
Kharec aa80e4eb8e revert: remove useless helper as PartOne and PartTwo will have a different behavior 2025-12-02 07:35:50 +01:00
Kharec 0d029f2861 feat: unify invalid checks with exactTwo boolean parameter 2025-12-02 07:19:57 +01:00
Kharec edf94432f4 test: add unit test for part two 2025-12-02 06:53:45 +01:00
Kharec 33552358f8 feat: solve p1 2025-12-02 06:52:30 +01:00
Kharec 45d3e93a93 test: add unit test for p1 2025-12-02 06:46:42 +01:00
Kharec a05450c73a chore: add 2025D2 dataset 2025-12-02 06:27:22 +01:00
Kharec 6b95f5ced0 test: add an almost arbitrary test for p2 2025-12-01 23:20:37 +01:00
Kharec 9caee546f0 feat: solve part two by overriding wire b and re-evaluating circuit 2025-12-01 23:11:41 +01:00
Kharec 8e831d85fe fix: replace Split with SplitSeq as it's a loop (thanks lsp) 2025-12-01 23:09:30 +01:00
Kharec b8ab5fae7b test: updateInput to simulate new ParseInput output 2025-12-01 23:08:22 +01:00
Kharec 3262d1cbb8 refactor: build instruction in ParseInput and add evaluateWire helper 2025-12-01 23:07:29 +01:00
Kharec 766ee97dd3 feat: solve part one using recursion and memoization 2025-12-01 22:59:28 +01:00