Commit graph

66 commits

Author SHA1 Message Date
44092ab958 Add version with simpler transpose 2020-12-17 12:47:15 +09:00
ab7c6d5d33 reduce -> map_reduce 2020-12-17 12:07:00 +09:00
cd95b1713c Tidy up Day 16 Part 2
Fewer maps, simpler variable names, break up complex function
2020-12-17 11:56:02 +09:00
343d2ef962 Tidy Day 16 2020-12-16 23:57:57 +09:00
3cff76a05b Day 16 Initial Version - will tidy up later 2020-12-16 20:54:50 +09:00
9ba86e15c4 Better variable names, extract next_num function 2020-12-16 09:09:58 +09:00
de859650bc Forgot to add answer to Day 13 Part 1 2020-12-16 03:47:17 +09:00
da0707660e Cheat to solve Day 13 Part 2 2020-12-16 01:41:12 +09:00
d19ae04554 Rename module 2020-12-15 15:53:41 +09:00
bbb8ba7251 Day 15 Parts 1 and 2 2020-12-15 15:31:45 +09:00
1318f63b25 Day 14 Part 2 2020-12-15 14:00:41 +09:00
facf77e829 Day 14 Part 1 2020-12-14 20:57:38 +09:00
c245b18028 Day 13 Part 1 and WIP Part 2 2020-12-14 03:19:32 +09:00
d6c713ed24 Template: inspect output by default 2020-12-12 19:46:22 +09:00
1126125b3d Day 12 Parts 1 and 2 2020-12-12 16:25:20 +09:00
80c393e6ba Add refactored Day 10 Part 2 for clarity. 2020-12-11 23:38:03 +09:00
dba1986b34 Day 11: remove debug code, simpler datastructure 2020-12-11 19:24:59 +09:00
212e979cbd Add musings about input data 2020-12-11 16:25:24 +09:00
bf0a9e6ff7 Day 11 Parts 1 and 2 2020-12-11 16:09:17 +09:00
7e21418813
Fix graph 2020-12-11 02:33:17 +09:00
4b1dab72a5 clearer lines 2020-12-11 01:04:13 +09:00
c5745fbaaa Day 10 Part 2 2020-12-11 00:28:41 +09:00
a5b418cd44 Day 10 Part 1 2020-12-10 17:48:38 +09:00
0e60744957 Clarify part 1 strategy 2020-12-10 00:36:55 +09:00
8f4d06e24d Fix unused optimization in forms_pair?/4 2020-12-10 00:30:54 +09:00
8e7f5288ce Day 9 Parts 1 and 2 2020-12-09 22:22:55 +09:00
3784d613f6 Regex was overkill 2020-12-09 01:19:36 +09:00
6f332192cb Day 8 Parts 1 and 2 2020-12-08 20:38:43 +09:00
d4c0fdb000 Add comments for clarity 2020-12-08 12:47:57 +09:00
c6a64056c6 small simplification 2020-12-08 12:40:27 +09:00
dbf14680ba Tree -> DAG 2020-12-08 01:49:07 +09:00
b2503c0e5b Combine spilt and trim 2020-12-07 22:36:40 +09:00
a63c3aeb4e s/children/descendants/g 2020-12-07 18:42:38 +09:00
6144ba6159 Day 7 Parts 1 and 2 2020-12-07 18:25:31 +09:00
bbcd0b52d2 Add Day 6 better implementation notes 2020-12-06 16:39:18 +09:00
a5e688abf5 Fix vim not handling wide emoji 2020-12-06 16:18:42 +09:00
648f5f6a54 Add notes for Day 6 2020-12-06 16:14:45 +09:00
3e0f4451e0 Refactor for readability 2020-12-06 16:03:34 +09:00
d11d007be9 Use String.to_charlist/1 2020-12-06 15:47:14 +09:00
45292967af Rework with File.stream!/1 2020-12-06 15:45:22 +09:00
07773441f7 Day 6 initial solution 2020-12-06 15:04:15 +09:00
65974e2a54 Clarify refinements made after checking forums etc. 2020-12-06 11:54:31 +09:00
f51e1cd8fb Commit template 2020-12-06 11:45:43 +09:00
57dab49806 Move alternative Day5 impl to separate files 2020-12-06 11:42:48 +09:00
207313fd22 Add Day 5 alternative parser implementation 2020-12-06 02:05:06 +09:00
d2dc8fb98c Add alternative Day 5 parsing solution (to README) 2020-12-06 01:48:26 +09:00
ae2e69fb8e Didn't use Bitwise in the end 2020-12-05 22:33:50 +09:00
0cbf16ad5e Day 5 Parts 1 and 2 2020-12-05 22:29:55 +09:00
3eac9fe92a Remove an unneeded Enum.map 2020-12-04 15:58:50 +09:00
ace4184758 Day 4 Parts 1 and 2 2020-12-04 15:51:21 +09:00