Commit graph

6 commits

Author SHA1 Message Date
09ee6c41cc Fix project structure, fix broken 2023 day 19 pt 1 2024-03-26 17:54:04 -04:00
d6fce584fd mix format 2023-12-02 02:11:54 -05: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
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
Renamed from day1.ex (Browse further)