Logo
Explore Help
Sign In
Kharec/advent-of-code
1
0
Fork 0
You've already forked advent-of-code
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
189 Commits 1 Branch 0 Tags
1421062a753bd7153317c54d9989d4ceb71bd6e6
Commit Graph

12 Commits

Author SHA1 Message Date
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
0949840317 feat: solve P2, same as P1 but check every time the dial passes through 0 during the rotation 2025-12-01 07:41:50 +01:00
Kharec
daec5a8671 test: add unit test for p2 2025-12-01 07:35:03 +01:00
Kharec
d66cd1179d feat: solve P1 using modulo to keep it between boundaries 2025-12-01 07:31:15 +01:00
Kharec
2d3828c55d test: design unit test for part one 2025-12-01 07:20:12 +01:00
Powered by Gitea Version: 1.25.2 Page: 125ms Template: 6ms
English
English
Licenses API