Commit Graph

67 Commits

Author SHA1 Message Date
a14958b8a6 Day 5, total failure, mainly due to testInput containing extra lines without me noticing. Stopping this madness once and for all. 2024-12-05 07:24:35 +01:00
Chris Hodges
782d12c048 Very minor day 2 refinement. 2024-12-04 10:03:28 +01:00
4bf79c0e89 Added some utility functions to CharGrid. 2024-12-04 06:38:33 +01:00
77618b3534 Day 4. CharGrid class could need some improvements. 2024-12-04 06:20:45 +01:00
Chris Hodges
64ba775ca6 Bugfix for an edge case that wasn't in the input, gladly.
Change-Id: I7b1123e8f65d138dab777ea8383852f85402d59a
2024-12-03 11:20:38 +01:00
Chris Hodges
b770db22c6 Minor tidying.
Change-Id: I81f04b30668c9d4e081a21c941b30c5989ffcdb7
2024-12-03 10:57:11 +01:00
7695a005c9 Day 3, meh for having multiple lines of input and meh for having two different inputs and meh for being lazy. 2024-12-03 06:23:12 +01:00
79797d8ea2 Day 2, slept in :-( 2024-12-02 06:52:19 +01:00
8f879f456e 2024: Day 1 (yawn!) 2024-12-01 06:13:35 +01:00
6b27f3741d Was bored, so started to do 2015. 2023-12-28 20:01:40 +01:00
73164a0ee3 Unlike other people, I don't have a ready set of graph algorithms ready, so I tried a bit to implement Karger, before I went back and simply added -Kneato to my dot graph output and then the edges to cut became very clearly visible. I could have saved a couple of hours. 2023-12-25 08:10:42 +01:00
0acad0121c Day 24. This was a mad thing. I hate you all for using term solving tools under python. Thanks to the other kotlin guy who went the chinese remainder path and give a good amount of inspiration (strangely, the test input fails). I was thinking that some sort of modulo arithmetic could solve it, but it was too hard to figure out. What a waste of an otherwise nice xmas day. 2023-12-24 14:50:09 +01:00
6b904bb42c Minor optimization on speed for day 23. 2023-12-23 12:40:51 +01:00
12d2e88da1 Day 23. 2023-12-23 11:37:51 +01:00
Chris Hodges
bfee59402e Minor opt.
Change-Id: Id25e6987382144228afebe661d0b4bdd576b9d6d
2023-12-22 10:58:11 +01:00
Chris Hodges
946048f3f1 Day 22 Part 2.
Change-Id: I60222815834fd3180a842d3c0f1f70bc9ed2ed67
2023-12-22 10:28:32 +01:00
50a8574a10 Part 1 at least. 2023-12-22 07:36:39 +01:00
8f1e9e238e Oh no, no time! 2023-12-22 07:10:20 +01:00
Chris Hodges
1eca157417 Minor clarification.
Change-Id: I987576476869e24d727ecc3f941a1b627e96a417
2023-12-21 09:35:32 +01:00
Chris Hodges
db7f45670e Day 21.
Change-Id: Ia46e9ade247aa6e7f04c7af4310c35a5852bbc95
2023-12-21 09:33:42 +01:00
4d1948a068 Day 21 part 1, no definite clue how to solve part 2 right now. 2023-12-21 06:47:16 +01:00
Chris Hodges
158ed23e9e What a mess.
Change-Id: I6691ff4ca64b6a2ae6edc38c4e2105130403437a
2023-12-20 10:06:56 +01:00
04dc4d6ba9 Day 20 unfinished, going to work. 2023-12-20 07:04:40 +01:00
Chris Hodges
8115b1c8ae Solved Part 2.
Change-Id: I5c3cab0446cb4761f9f6b97cc111b132da168475
2023-12-19 15:28:31 +01:00
1f9f6a69ea Day 19 Part 1. Need to go to work. 2023-12-19 07:43:21 +01:00
e35a97b62d Day 18. I dunno why the formular needed patching though. 2023-12-18 06:59:55 +01:00
095bbd4bc7 Day 17. What a mess. 2023-12-17 13:17:45 +01:00
3a8a2d79a9 Minor update to Day 15 because I should have used a linked hashmap in the first place, if I had only read the instructions clearly enough. 2023-12-16 13:19:03 +01:00
6eb93c51a3 Day 16. 2023-12-16 12:07:22 +01:00
d1d022f208 AoC is, after all, a reading compo :-( 2023-12-15 06:41:40 +01:00
3586f49f91 Damn you, Day 13. 2023-12-14 21:58:42 +01:00
Chris Hodges
b3f648a01e Grmpfl.
Change-Id: I50b8abdf506c7899dea213d0cf8ec79500ce795b
2023-12-14 17:51:00 +01:00
226e61a203 Day 14. 2023-12-14 07:19:50 +01:00
3b1410e2fd No time for day 13. 2023-12-13 06:55:05 +01:00
9ececeeb43 Day 12 :-/ 2023-12-12 20:34:54 +01:00
ee3629989b Giving up on day 12. 2023-12-12 07:17:31 +01:00
834d170921 Day 11. 2023-12-11 06:32:51 +01:00
b98653f2b9 Slept in, didn't hurry to finish Day 10. Considering the solution elegant regarding the traversal of the pipes. 2023-12-10 11:31:09 +01:00
56fcbfe165 Better properties handling. 2023-12-09 11:47:09 +01:00
fb3a5ce5d2 Added overdue helper functions splitInts() and splitLongs() 2023-12-09 09:20:47 +01:00
837e5827f4 removed dead code. 2023-12-09 08:28:08 +01:00
3c4b32fc78 Found some math code in my hackerrank repository that might become useful. 2023-12-09 07:53:00 +01:00
4c922f356d Day 8 revisited: Replaced manual prime factorization by new gcd and lcm toolset. 2023-12-09 06:51:10 +01:00
f026dfb6de Day 9. 2023-12-09 06:23:49 +01:00
9d314599e4 Day 8. 2023-12-08 06:40:24 +01:00
ba3d677880 Day 7 :-( 2023-12-07 09:27:50 +01:00
3a6545c934 Day 6 :-( 2023-12-06 06:41:39 +01:00
Chris Hodges
c33d708760 Fixed day 5 :-/
Change-Id: I927bfc1e9e16be8a30f5a9b6d639fc92392db9a2
2023-12-05 13:22:20 +01:00
ac0c0015d3 Giving up on Day 5. 2023-12-05 08:13:37 +01:00
1aac27e384 Day 4: Lesson learned: Don't make bugs, use pen and paper first. 2023-12-04 07:17:47 +01:00