Commit Graph

832 Commits

Author SHA1 Message Date
1468c87347 Implement 2025 day 1 part 2 2025-12-01 20:47:21 +01:00
1dc59c18eb Solve 2025 day 1 part 1 2025-12-01 08:59:13 +01:00
dbcbd15103 Prepare 2025 2025-12-01 08:08:13 +01:00
b6aafa1b27 Slightly cleaner 2025-02-03 23:10:53 +01:00
1f7108be47 Euclid's algorithm 2025-02-03 23:02:24 +01:00
48fb8cf8c9 Remove unnecesary duplication 2025-02-03 20:33:49 +01:00
f9416db251 Implement day 8 2024 in Terraform 2025-01-29 00:43:14 +01:00
6941f2b2d2 Rely more on type coercion 2025-01-21 21:40:07 +01:00
dc92b65830 Inline loop 2024-12-27 21:45:36 +01:00
5c030d5272 Implement 2024 day 14 part 1 in Terraform 2024-12-27 21:14:28 +01:00
d07bb9235b Implement 2024 day 13 in terraform 2024-12-27 21:08:47 +01:00
b23676bf04 Implement 2024 day 21 part 2
Invent a unit test for it too, because why not, it's Christmas
2024-12-26 16:43:15 +01:00
40632c8114 Implement 2024 day 21 part 1 2024-12-26 15:55:06 +01:00
073b576fd8 Implement 2024 day 25 in Terraform 2024-12-26 15:13:46 +01:00
f3a3e1fca3 More numpy for speed 2024-12-25 10:34:40 +01:00
4a479c1646 Implement 2024 day 25 2024-12-25 10:25:48 +01:00
b41571949e Fix problem by adding more lookback 2024-12-24 21:17:49 +01:00
e949ce9932 Sort of functional implementation of 2024 day 24 2024-12-24 20:56:12 +01:00
48824288b0 Implement 2024 day 23
Is using networkx cheating? I don't think so. I've already solved
max-clique before, so I know I can do it
2024-12-23 08:21:45 +01:00
9e552c9b6a More inlining 2024-12-23 08:00:10 +01:00
329cd4e471 More optimizations 2024-12-22 14:11:39 +01:00
321d78d850 More loops to numpy 2024-12-22 12:15:11 +01:00
230b4ae028 Implement 2024 day 22 2024-12-22 12:03:44 +01:00
be2244eca9 Inline module
Because this is Terraform, and it's the ultimate optimisation technique
2024-12-20 20:15:30 +01:00
395463dc4a Implement 2024 day 20 2024-12-20 09:46:53 +01:00
fdaadfe184 Implement day 19 part 1 in Terraform 2024-12-19 23:24:11 +01:00
dd07090056 Poor man's trie 2024-12-19 22:35:55 +01:00
891a5ea50c Inline function to avoid passing arg 2024-12-19 09:13:37 +01:00
d4aad95f55 Implement 2024 day 19 2024-12-19 09:05:55 +01:00
caa2c9b6cf Implement 2024 day 18 2024-12-18 09:14:39 +01:00
4a8b9f9109 Implement 2024 day 17 part 2 2024-12-17 22:17:12 +01:00
6c0a49a5f3 Implement 2024 day 17 part 1 2024-12-17 09:55:07 +01:00
17017e7ab4 Formatting? 2024-12-17 09:34:43 +01:00
b23f24c567 Implement 2024 day 16 part 2 2024-12-16 18:16:05 +01:00
f0556c6afe Implement 2024 day 16 part 1 2024-12-16 08:58:42 +01:00
da7ee96b93 Slihghtly simplify 2024-12-16 08:33:02 +01:00
e90ee40880 Implement 2024 day 15 2024-12-15 14:05:31 +01:00
98983f622c It looks nice, not what I expected 2024-12-14 09:18:36 +01:00
4a7305d7eb Implement 2024 day 14 2024-12-14 09:11:16 +01:00
c8ab67d145 Implement 2024 day 13 2024-12-13 08:36:20 +01:00
044c971d00 Implement 2024 day 12 2024-12-12 22:18:32 +01:00
8308580284 Actually run part 2 in Terraform, madness 2024-12-11 23:18:56 +01:00
612c4d19ef Implement efficient algorithm in TF 2024-12-11 22:33:42 +01:00
2beccdd0e6 day 11 part 1 in terraform 2024-12-11 18:53:06 +01:00
023807a701 Implement 2024 day 11 2024-12-11 08:51:32 +01:00
3e709cc863 Implement 2024 day 10 2024-12-10 09:38:31 +01:00
d49fc8e769 Do day 7 RTL
That does indeed cut down branching significantly
2024-12-09 22:30:52 +01:00
cb7aedc4ba Implement 2024 day 9 2024-12-09 18:14:49 +01:00
dcb0f4514d Restructure tests 2024-12-08 10:33:17 +01:00
dfee3d4e11 Implement 2024 day 8 2024-12-08 10:17:29 +01:00