Commit Graph

30 Commits

Author SHA1 Message Date
ea761135bb failed attempt at A* pathfinding, no clue 2024-01-28 00:03:40 +01:00
53158f011b copy manhattan distance and compare 2024-01-28 00:03:00 +01:00
52d5b5949c introduce struct to keep track of city blocks 2024-01-28 00:02:20 +01:00
74269c994d initialize day 17 2024-01-28 00:00:40 +01:00
9e3bf2a918 ignore because empty and abandoned 2024-01-27 23:58:48 +01:00
ae4332c7d3 clean up: autoformat 2024-01-26 12:42:23 +01:00
1525ddfa95 clean up: formatting 2024-01-26 12:36:24 +01:00
db747ef3fe calculate manhattan distance of pairs and sum 2024-01-25 17:48:12 +01:00
d0f0a31d14 prepare expanding 2024-01-25 17:47:16 +01:00
c06faa97ff extract '#' as galaxies 2024-01-25 17:45:13 +01:00
83925dfd48 initialize day 11 2024-01-25 17:43:20 +01:00
61c576afd4 match by regex instead of splitting 2024-01-25 17:38:56 +01:00
b38cb21b02 bugfix: syntax 2024-01-25 00:19:37 +01:00
03a9838f4b implement p2 with direction toggle 2024-01-25 00:14:57 +01:00
f5ea37e0d8 prepare partition two 2024-01-24 23:46:39 +01:00
87ef3ea41e ignore unused partitions 2024-01-24 23:43:40 +01:00
6c8ee04e95 runtime measurement 2024-01-24 23:39:14 +01:00
ea0ffa5229 better daily partition isolation 2024-01-24 23:38:32 +01:00
97c5310ead isolate into part one function 2024-01-24 23:16:45 +01:00
f86be23eca calculate sum of expanded values 2024-01-24 22:58:19 +01:00
30695d92dd expand sequences 2024-01-24 22:57:50 +01:00
411784f438 prepare expanding sequences by duplicating last value 2024-01-24 22:50:25 +01:00
630170e636 rename difference extrapolation 2024-01-24 22:45:57 +01:00
633e1a8566 remove rand; used for testing 2024-01-24 18:47:10 +01:00
5cf79c7fe2 differentiate sequence and extrapolate 2024-01-24 18:38:59 +01:00
30f9c1bf88 converting inputs into numbers 2024-01-24 15:00:08 +01:00
2abb8a6d49 bugfix: renaming in code 2024-01-24 14:19:51 +01:00
29e043f06c better naming for double digits 2024-01-23 20:19:29 +01:00
6396666545 prepare common functions and example challenge 2024-01-23 20:12:50 +01:00
0e22b920a8 inital commit 2024-01-23 20:12:23 +01:00