Commit graph

34 commits

Author SHA1 Message Date
c334a98583 Add 2024 Day 21 WIP - probably give up 2024-12-21 17:22:31 +09:00
0bc03b7157 2024 Day 17 Part 1 + not working Part 2 2024-12-17 16:59:45 +09:00
e8a87d4a9c refactor day15 a bit
Remove need to duplicate first value of pushable_boxes
Fail fast when left branch produces :wall in part 2
2024-12-17 10:04:01 +09:00
0825d8db0e 2024 Day 15 Part 2 😵 2024-12-16 02:58:43 +09:00
4937115328 2024 Day 15 Part 1 2024-12-15 19:15:52 +09:00
aee0c29d53 2024 Day 14: at least add a path for the program to complete 2024-12-14 18:10:40 +09:00
83d6f89769 2024 Day 14 Part 2 - sort of 2024-12-14 17:47:15 +09:00
5d3432ab87 2024 Day 14 Part 1 2024-12-14 15:27:31 +09:00
9f4040c3bf 2024 Day 13 (just parsing input + notes, no solution) 2024-12-14 00:06:10 +09:00
283fa8b34c 2024 Day 12 2024-12-12 22:59:42 +09:00
26731083a3 2024 Day 11 Part 2 + retroactively use for Part 1 2024-12-11 22:29:10 +09:00
bc471d90a3 2024 Day 11 part 1 (and naive slow part 2, come back to it...) 2024-12-11 14:57:36 +09:00
df718ad579 tiny simplification 2024-12-10 23:34:24 +09:00
b9ca148096 Remove unneeded max_x when parsing input 2024-12-10 17:40:41 +09:00
4d74260d8a s/score/find_trails/g 2024-12-10 17:16:54 +09:00
4879d7a7d2 Simplify 2024 Day 10 to remove MapSets 2024-12-10 17:15:25 +09:00
e4b27c9bc1 2024 Day 10 2024-12-10 16:33:51 +09:00
ae3695c161 2024 Day 9 part 2 (inefficient) 2024-12-10 13:49:03 +09:00
9d60658882 2024 Day 9 part 1 2024-12-10 00:20:31 +09:00
04970d3ed6 Simplify with Enum.into/2 2024-12-09 12:23:29 +09:00
fcbf4aa683 Refactor Day6 part 1 to use a struct (will re-use in part 2) 2024-12-09 12:21:35 +09:00
1e974c56ae Simplify a bit by inlining a function 2024-12-09 09:35:28 +09:00
9345419941 clearer variable names 2024-12-09 08:55:53 +09:00
6c003ed3c2 2024 Day 8 2024-12-08 23:26:57 +09:00
7589011fa6 2024 Day6 part 1 2024-12-06 15:18:33 +09:00
5d452d1e18 2024 Day 5 2024-12-05 20:00:55 +09:00
40a8c5d717 2024 day 4 2024-12-04 22:58:32 +09:00
06ca6eba41 Slightly cleaner without capture: :all_but_first for part 2 2024-12-03 16:50:47 +09:00
758e5e481e 2024 day 3 2024-12-03 16:22:54 +09:00
1cfe6e2f34 Use Enum.any?/2 instead of Enum.find_value/3 2024-12-03 09:59:23 +09:00
1a3c2bb7c9 use delete_at instead of pop_at 2024-12-02 21:51:40 +09:00
89ae345ad6 2024 Day 2 2024-12-02 21:47:39 +09:00
bf6fa2af47 Replace custom function with Enum.zip_with 2024-12-01 14:27:54 +09:00
b26f687dab 2024 Day 1 2024-12-01 14:20:31 +09:00