Commit graph

64 commits

Author SHA1 Message Date
Joe Ardent
319fed1511 zipping iterators is slower but uses less memory. 2024-05-15 12:44:37 -07:00
Joe Ardent
edbe0571dc tidy 2024-05-14 16:38:44 -07:00
Joe Ardent
cf517aeac3 catching up 2024-05-14 16:34:13 -07:00
Joe Ardent
d2df4afd3d just iterate 2024-05-06 14:35:45 -07:00
Joe Ardent
1c2b0ba376 stolen valor 2024-05-06 14:30:18 -07:00
Joe Ardent
8bf70ff701 using the windows() iter methods is slow 2024-04-30 08:34:17 -07:00
Joe Ardent
e8b350b64b remove pointless ifs 2024-04-26 10:19:31 -07:00
Joe Ardent
ae5d866555 max number of k-sum pairs 2024-04-25 22:06:08 -07:00
Joe Ardent
cbce321637 two-pointers: most water contained 2024-04-25 21:38:20 -07:00
Joe Ardent
8789bbba49 runlength encoding using the input container as the output 2024-04-25 17:49:57 -07:00
Joe Ardent
15fd997707 increasing triplet subsequence 2024-04-25 14:34:56 -07:00
Joe Ardent
06b15921fd reuse array for product 2023-11-02 22:25:39 -07:00
Joe Ardent
34db36cf0b add "product of array except self" in rust 2023-11-02 17:41:09 -07:00
Joe Ardent
db142ff1df done with day13 2022-12-29 16:21:22 -08:00
Joe Ardent
24feb1c127 starting on day13, parser is halfway done 2022-12-26 17:09:04 -08:00
Joe Ardent
0423e7a8f3 clean up day12, disable tests 2022-12-13 13:43:00 -08:00
Joe Ardent
a62ed3ec13 done with part2 2022-12-13 13:32:17 -08:00
Joe Ardent
2cd0dce596 done with day12, part1 2022-12-13 13:14:42 -08:00
Joe Ardent
5441906ea8 day11 part2 done 2022-12-12 20:16:39 -08:00
Joe Ardent
da8635c06b solves day11 part1 2022-12-12 15:09:00 -08:00
Joe Ardent
dcdc93a6c6 ignore python venvs 2022-12-12 15:08:38 -08:00
Joe Ardent
14a80c2cca parses input for day11 2022-12-11 14:15:08 -08:00
Joe Ardent
b2aa96255e turn off tests for day 10 2022-12-11 10:50:33 -08:00
Joe Ardent
129c4ea79d fix test setup in template 2022-12-11 10:49:33 -08:00
Joe Ardent
b3476976da fix display bug in part2 2022-12-11 10:37:37 -08:00
Joe Ardent
100be8c55f done with part2 2022-12-10 16:30:42 -08:00
Joe Ardent
af99955fc2 add test section to template 2022-12-10 15:18:39 -08:00
Joe Ardent
714405d466 aoc day10 part1 done 2022-12-10 15:07:20 -08:00
Joe Ardent
408b4d9e6f tweak template 2022-12-10 11:46:20 -08:00
Joe Ardent
164e731df0 done with part2 2022-12-09 17:09:33 -08:00
Joe Ardent
ca854d2cd3 clean up part1 helper fn 2022-12-09 16:01:08 -08:00
Joe Ardent
92b6b86197 done with day9 part1 2022-12-09 15:49:09 -08:00
Joe Ardent
675ef71289 add template 2022-12-09 12:57:09 -08:00
Joe Ardent
f8e2ed0cb7 done with part 2 2022-12-08 16:38:46 -08:00
Joe Ardent
ed0c44e2b1 done with day8, part1 2022-12-08 15:44:10 -08:00
Joe Ardent
fd29d5cf87 done with day 7 2022-12-07 16:06:02 -08:00
Joe Ardent
d4af3e7c26 done with part 2 2022-12-06 17:09:58 -08:00
Joe Ardent
1c7913285c done with day6 part1 2022-12-06 16:30:35 -08:00
Joe Ardent
96441ccdbd clean up day5, don't use itertools 2022-12-06 14:55:16 -08:00
Joe Ardent
5779749423 done with part 2 2022-12-05 16:46:17 -08:00
Joe Ardent
e7c4253f1c day5, part1 done 2022-12-05 15:33:13 -08:00
Joe Ardent
a636bff3aa don't destructure tuple before repacking 2022-12-05 14:01:03 -08:00
Joe Ardent
b2cfa5ca57 tidy up 2022-12-04 11:58:25 -08:00
Joe Ardent
c2cd2efe3d just clean it up 2022-12-04 11:55:31 -08:00
Joe Ardent
63eaad3ad2 add alternate solutions with tuples instead of ranges 2022-12-03 23:07:30 -08:00
Joe Ardent
8dc7f8bf53 part2 done 2022-12-03 22:29:07 -08:00
Joe Ardent
d2dac0ce84 day4, part1 done 2022-12-03 22:26:41 -08:00
Joe Ardent
b4bf4e61ad use bitand for sets 2022-12-03 16:22:48 -08:00
Joe Ardent
ad309f5b33 part 2 done 2022-12-03 16:15:56 -08:00
Joe Ardent
4ae6b3cb7f day 3, part 1 done 2022-12-03 15:06:01 -08:00