Commit graph

30 commits

Author SHA1 Message Date
23f8a28bbd optimize day7 with cache on hand_type 2023-12-07 10:32:48 -05:00
8c60dd6550 day 7 2023-12-07 03:04:11 -05:00
5a20c55b4c day5 pt 2 optimizations 2023-12-06 15:30:37 -05:00
0c2d682398 mix format 2023-12-06 13:53:13 -05:00
fda0c5af94 create 2023 dir 2023-12-06 13:52:42 -05:00
07125c75ce 2023 day 6 2023-12-06 00:58:36 -05:00
027ed5aeb6 day 5 solution and utils 2023-12-05 16:42:27 -05:00
e3d6c5350b day 5 part 1 2023-12-05 02:35:49 -05:00
2916c3c816 day 4 brevity 2023-12-04 01:17:07 -05:00
b7744eb2a3 2023 day 4 2023-12-04 01:02:52 -05:00
5f3ac1eb76 add get_input task
call with `mix get_input <year> <day>` and it
will write to `input/<year>_<day>.txt`
2023-12-03 19:06:47 -05:00
32e036b925 remove input padding 2023-12-03 02:39:24 -05:00
c7b996aea5 2023 day 3 2023-12-03 02:36:33 -05:00
5d59234db4 mix format 2023-12-02 02:14:44 -05:00
4c58c68173 2023 day2 2023-12-02 02:13:31 -05:00
e07537d56d 2023 day1 2023-12-02 02:13:16 -05:00
d6fce584fd mix format 2023-12-02 02:11:54 -05:00
7c0ebe4c50 day 10 part 2 2023-11-11 21:12:19 -05:00
f45cf1cac5 day10 part 1 2023-11-11 15:06:07 -05:00
323afa6c4b rewrite 2023-11-11 12:26:23 -05:00
9ad7062bf0 add day9 part 2 2023-11-11 12:16:39 -05:00
70d3b9cce8 add day9 part1 solution: 2023-11-10 17:17:00 -05:00
c9ff65d949 clean up runner 2023-10-29 01:47:54 -04:00
bac2473cd9 remove debug var 2023-10-29 01:09:26 -04:00
5b6b8bb55b day 3 part 1 2023-10-29 01:07:11 -04:00
680929a20c day 2 part 2
aoc runner takes part as arg and passes to
init state fn call

refactored day 1 to switch parts dynamically
2023-10-28 13:43:21 -04:00
3f047cd890 refactor day1 to use execute function 2023-10-28 12:30:04 -04:00
d84058d959 day 2 part 1 2023-10-28 12:27:59 -04:00
6aa3fbaa58 remove halting logic from day1 2023-10-28 01:31:31 -04:00
c2933897db switch to project format
Fixed a bug in the day1 solution where
the list of totals could add the "current
sum" for a given elf to the list each time
a new entry was added e.g. an input like,

100
200
300

could result in a list like,

[300, 200, 100].

Now we reorder the list at each "reset" (empty line).
2023-10-27 15:47:49 -04:00