Commit graph

200 commits

Author SHA1 Message Date
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
82438c93db Remove year links from readme 2024-12-05 13:42:35 +00: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
5fed61e710 2023 Day 9 2024-12-01 22:25:04 +09:00
fb8ea486cc Proper solution for 2023 Day8 part 2 2024-12-01 14:58:18 +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
4721839c46 2023 Day 8 (Part2 doesn't complete) 2024-11-29 22:41:43 +09:00
2169d4dc40 2023 Day7 Part 1 2023-12-07 22:23:29 +09:00
1916aa94a7 forgot to turn it on 2023-12-07 10:50:04 +09:00
6503a02d1e Day 6 Part 2 2023-12-07 10:44:36 +09:00
4d3293cd3e 2023 Day 6 part 1 2023-12-07 10:34:56 +09:00
f180c206ac Tidy up day 5 a bit 2023-12-06 21:57:43 +09:00
684438a5a1 2023 Day5 part 2 2023-12-06 19:20:49 +09:00
0efa69721f 2023 Day5 Part 1 2023-12-05 16:38:18 +09:00
8b2b0cce65 Simplify 2023 Day 4 2023-12-04 22:31:37 +09:00
e5efb08102 Merge branch 'main' of git.adamu.jp:adam/AdventOfCode 2023-12-04 22:19:21 +09:00
dce598de72 2023 Day 4 part 2 2023-12-04 20:11:26 +09:00
1e74b21dc5 Day 4 part 1 2023-12-04 18:00:25 +09:00
44a5d8eb27 2023 Day 3 Part 1 2023-12-03 21:10:31 +09:00
17e72ebf4c 2023 Day 2 2023-12-02 15:00:28 +09:00
3d68fa4048 optimise: no numbers start with r or x 2023-12-02 00:16:19 +09:00
27babd9ed7 Day1 faster 2023-12-01 23:52:27 +09:00
ad1826489e 2023 day1 naive solution 2023-12-01 23:38:03 +09:00
67ef614680 Add 2015 Day 5 2023-09-04 00:15:33 +09:00
550b652b45 Add 2015 Day4 2023-09-02 03:08:50 +09:00
f1762d886a Add 2015 Day3 2023-09-02 02:48:10 +09:00
6eee6cace0 Add 2015 Day 2 2023-09-02 02:01:44 +09:00
b788fa1096 Add 2015 day1 2023-09-02 01:41:17 +09:00
522bbf2dee Make Day 11 runnable 2022-12-12 23:02:53 +09:00
7f9e61c347 Update readme image 2022-12-12 22:57:40 +09:00
f80444d913 2022 Day 11 part 1 2022-12-12 22:34:44 +09:00