Commit Graph
100 Commits
Author SHA1 Message Date
Kharec 20ab5fe4e5 test: adapted p2 test as it expects string and not int 2025-11-30 13:04:08 +01:00
Kharec 959c05b769 feat: add part one solution 2025-11-30 12:55:52 +01:00
Kharec 4179c88afb feat: include 2018D2 2025-11-30 12:50:47 +01:00
Kharec 0dc0c3af3d feat: 2018D2 dataset 2025-11-30 12:50:41 +01:00
Kharec c6dc950d3f test: add unit test for p1 2025-11-30 12:50:33 +01:00
Kharec e5a1504f6b feat: add solutions for P1/P2 2018D1 2025-11-30 12:46:09 +01:00
Kharec 9da1fa02c8 feat: 2018D1 dataset 2025-11-30 12:46:01 +01:00
Kharec 99857d8ca5 test: add unit tests for P1/P2 2025-11-30 12:45:53 +01:00
Kharec e198caf1b9 feat: include 2018D1 2025-11-30 12:45:45 +01:00
Kharec 9dd5f1354f docs: comment years 2025-11-29 16:15:14 +01:00
Kharec 8ad1b166f3 feat: add both solutions 2025-11-29 16:07:02 +01:00
Kharec 1f3b42b266 feat: 2015D5 dataset 2025-11-29 16:06:54 +01:00
Kharec 9521677ca8 test: add unit tests for both parts 2025-11-29 16:06:42 +01:00
Kharec 8938992384 feat: include 2015D5 2025-11-29 16:06:34 +01:00
Kharec a0ce63e5a5 feat: solve d4 both parts using md5 bruteforce 2025-11-29 09:57:54 +01:00
Kharec a12c8df252 test: add unit tests for both parts 2025-11-29 09:57:23 +01:00
Kharec 8d69f10924 feat: include 2015D4 2025-11-29 09:55:47 +01:00
Kharec e41d1fa220 feat: add 2015D4 input 2025-11-29 09:55:39 +01:00
Kharec da78d01d9f test: standardization 2025-11-29 09:39:33 +01:00
Kharec ff4b7b281c feat: add p2 solution 2025-11-28 17:59:03 +01:00
Kharec a3f54530f6 test: add unit test for p2 2025-11-28 17:56:35 +01:00
Kharec 301d93157c feat: add part one solution 2025-11-28 17:51:51 +01:00
Kharec 7e0a1e71a7 test: add unit test for p1 2025-11-28 17:51:10 +01:00
Kharec 962bc923f3 feat: include 2015D3 2025-11-28 17:50:59 +01:00
Kharec 76568a801d feat: add input for 2015D3 2025-11-28 17:50:29 +01:00
Kharec 1f5b8247a9 feat: add p2 solution 2025-11-28 16:47:56 +01:00
Kharec 950eec898e test: add p2 unit test 2025-11-28 16:47:52 +01:00
Kharec 2d6c89d7c9 feat: add solution for p1 2025-11-28 16:45:04 +01:00
Kharec 6bc4c1b5a5 test: add unit test for p1 2025-11-28 16:44:58 +01:00
Kharec 7b0ccf8a40 feat: add 2015D2 input 2025-11-28 16:41:58 +01:00
Kharec ea62c2ce0a feat: include 2015D2 2025-11-28 16:41:46 +01:00
Kharec 87a7dee129 feat: add solution for p2 2025-11-28 16:31:02 +01:00
Kharec 53d72ae163 test: add unit test for p2 2025-11-28 16:29:35 +01:00
Kharec bd8c2cca31 feat: add day1 part 1 solution 2025-11-28 16:28:15 +01:00
Kharec 4013ad8330 feat: add d1 input 2025-11-28 16:28:01 +01:00
Kharec a344eef0e3 test: add unit test for p1 2025-11-28 16:27:55 +01:00
Kharec 824eb6d5a2 feat: include 2015D1 2025-11-28 16:27:49 +01:00
Kharec d8e7573204 build: add a new target to create files for a new day 2025-11-28 16:22:11 +01:00
Kharec 98fb052039 feat: add p2 solution 2025-11-28 15:33:23 +01:00
Kharec db685a1290 test: add p2 unit test 2025-11-28 15:26:30 +01:00
Kharec 27a56dc7cd refactor: create a execute() function to reuse in part two 2025-11-28 15:26:23 +01:00
Kharec 6a82336c99 feat: add part one solution 2025-11-28 14:54:29 +01:00
Kharec 90a924e640 feat: input for 2020D8 2025-11-28 14:54:21 +01:00
Kharec 228d8b475b test: add unit test for part one 2025-11-28 14:54:16 +01:00
Kharec c3abc90a24 feat: include 2020D8 2025-11-28 14:54:05 +01:00
Kharec 60ffe95f69 feat: implement PartTwo using DFS recursion 2025-11-28 12:53:29 +01:00
Kharec 33bcb91d48 docs: add goal 2025-11-28 12:16:21 +01:00
Kharec 5d63f3c4d6 test: add unit test for part two 2025-11-28 12:02:23 +01:00
Kharec ceb3502c96 refactor: prepare part two, which will use the same parsing logic + new structure 2025-11-28 12:02:14 +01:00
Kharec e6867b9cfb feat: include 2020D7 2025-11-28 11:32:01 +01:00
Kharec d783d14ecc test: add PartOne unit test 2025-11-28 11:31:55 +01:00
Kharec 1fe2e30ef8 feat: use a BFS approach to solve part one 2025-11-28 11:31:43 +01:00
Kharec a7e15569b4 feat: add 2020D7 input 2025-11-28 11:28:28 +01:00
Kharec 41007ef20e go: fmt 2025-11-28 11:28:19 +01:00
Kharec 3fb71d0cbf refactor: standardize PartOne/PartTwo declarations 2025-11-28 09:01:11 +01:00
Kharec 62969312e3 feat: more elegant solution, get rid of cmp 2025-11-26 17:12:36 +01:00
Kharec 59974a4d29 build: make all targets silent, test output will still appear anyway 2025-11-26 16:11:26 +01:00
Kharec 44cceaad6d build: make it silent 2025-11-26 16:10:41 +01:00
Kharec 5274739cd3 build: create bin dir when building as it's git-ignored 2025-11-26 16:09:23 +01:00
Kharec 8915de6145 feat: add 2022D1 solutions 2025-11-26 16:05:47 +01:00
Kharec e96d308e5f feat: input for 2022D1 2025-11-26 16:05:35 +01:00
Kharec 3fdb921aae tests: add 2022D1 unit tests 2025-11-26 16:05:00 +01:00
Kharec 2d5e05ae8b feat: include 2022D1 2025-11-26 16:04:51 +01:00
Kharec 2f06c7ab2d feat: add gitignore 2025-11-26 14:05:39 +01:00
Kharec 3723f84d1a refactor: massive refactor to have only one binary to call 2025-11-26 14:04:13 +01:00
Kharec 314da54495 feat: complete part two 2025-11-25 23:12:50 +01:00
Kharec 3ab410ea06 test: add unit test for part two 2025-11-25 23:12:42 +01:00
Kharec 45c04431cc refactor: i -> idx 2025-11-25 22:45:49 +01:00
Kharec 497314aa8b test: add unit test for part one 2025-11-25 22:44:46 +01:00
Kharec ce1cc9d5cf feat: complete part one 2025-11-25 22:44:37 +01:00
Kharec b2f1a2902c feat: add input 2025-11-25 22:44:30 +01:00
Kharec de59203640 go: init 2020/day06 package 2025-11-25 22:44:25 +01:00
Kharec 021d16cfd7 test: Add unit test for PartTwo 2025-11-25 22:28:33 +01:00
Kharec d13ed719e1 feat: complete PartTwo 2025-11-25 22:28:25 +01:00
Kharec 507b27bc13 refactor: add calculateSeatID helper to simplify code 2025-11-25 22:27:44 +01:00
Kharec e763653a96 test: add unit tests 2025-11-24 22:13:21 +01:00
Kharec 13165c5fa3 feat: add main code 2025-11-24 22:13:16 +01:00
Kharec c5885f9bbf feat: add input 2025-11-24 22:13:12 +01:00
Kharec 6931a63080 go: init 2021/day03 package 2025-11-24 22:13:08 +01:00
Kharec 3f795a451d test: add unit tests 2025-11-24 21:35:28 +01:00
Kharec c56c2aa449 feat: add main code 2025-11-24 21:35:22 +01:00
Kharec 19ea2cd1f6 feat: add input 2025-11-24 21:35:19 +01:00
Kharec 8594cd44d3 go: init 2021/day02 package 2025-11-24 21:35:14 +01:00
Kharec f8d8916b60 feat: add main code 2025-11-24 21:24:48 +01:00
Kharec 5545200823 test: add unit tests 2025-11-24 21:24:43 +01:00
Kharec 0f33caf778 feat: add input 2025-11-24 21:24:22 +01:00
Kharec 63f9aa5ad1 go:init 2021/day01 package 2025-11-24 21:24:18 +01:00
Kharec 3602fc356b test: add unit test 2025-11-24 21:07:43 +01:00
Kharec 624649e6ea feat: add main code 2025-11-24 21:07:34 +01:00
Kharec 898a67090e feat: add input 2025-11-24 21:07:30 +01:00
Kharec daaf966e12 go: init 2020/day05 package 2025-11-24 21:07:27 +01:00
Kharec 5bdd01dfdd refactor: directly return list from Split() 2025-11-24 18:55:37 +01:00
Kharec 43b78620ca feat: add main code 2025-11-24 18:49:12 +01:00
Kharec bb9f9d4484 test: add unit test 2025-11-24 18:49:09 +01:00
Kharec 9ec566abf1 typo: tt's -> it's (+ rephrasing) 2025-11-24 14:41:25 +01:00
Kharec 09e299539d docs: explain how's everything is in go 1.25 :D 2025-11-24 14:40:00 +01:00
Kharec 587aabd80e typo: faild -> failed 2025-11-24 14:32:16 +01:00
Kharec a9de4a3502 feat: add input 2025-11-24 14:11:36 +01:00
Kharec cd160685f1 go: init 2020/day04 package 2025-11-24 14:11:33 +01:00
Kharec 428ec93860 refactor: use shared variable for input 2025-11-24 14:05:43 +01:00