Commit Graph

314 Commits

Author SHA1 Message Date
alexchao26 9cc35dc9a5 2023 day4 2024-05-24 13:49:13 -04:00
alexchao26 eb16913f7c starting 2023 2024-01-22 23:37:55 -05:00
alexchao26 615f16cc15 400 * 2022-12-30 11:58:38 -05:00
alexchao26 81a20e4f39 2022/day16, well i put it off until the end, does that make it the hardest puzzle for me this year? i think so 2022-12-30 11:56:35 -05:00
alexchao26 8a9a64b3c4 day25... thankfully didnt need crazy mod math 2022-12-30 11:00:04 -05:00
alexchao26 38a9e6204a 23 & 24, nearly there! 2022-12-29 00:34:01 -05:00
alexchao26 419485f35a wow 2022-12-28 00:51:30 -05:00
alexchao26 cc941cdbab off by 1 using binary search... that was painful 2022-12-27 01:01:18 -05:00
alexchao26 74e397ca4c day 20, unit tests to debug == gold 2022-12-26 02:14:12 -05:00
alexchao26 f26777edc0 dump 15 17 18 2022-12-25 12:21:02 -05:00
alexchao26 1ed6126f10 ran day19 overnight... not proud of that 2022-12-25 12:04:59 -05:00
alexchao26 f3396ea86a dumping 5 days of unrefined solutions :) 2022-12-20 01:06:57 -05:00
alexchao26 d9e783478b 2022-12, path finding :) 2022-12-12 00:59:02 -05:00
alexchao26 6bef9a0721 8 9 10 11 2022-12-12 00:22:00 -05:00
alexchao26 3bd03ec7b3 day4 range overlappy thing 2022-12-04 01:39:46 -05:00
alexchao26 7cd3f4232b a very "good enough for AOC" kinda solution 2022-12-03 22:45:46 -05:00
alexchao26 dbcb2fbadc i miss go, idk if it misses me 2022-12-01 10:41:44 -05:00
Alex Chao 94d09b9836 update readme 2022-01-03 11:38:15 -05:00
alexchao26 2a3bffd659 add halp package for printing infinite grids, which seems to be quite common. generics may be useful here oneday... 2021-12-30 20:03:25 -05:00
alexchao26 a8ffba20f7 linting 2021-12-30 19:21:13 -05:00
alexchao26 6f6cc42601 resolve some TODOs 2021-12-30 19:18:07 -05:00
alexchao26 57a2222810 day13 cleanup 2021-12-30 19:07:22 -05:00
alexchao26 236a6ab91c 350 stars img :) 2021-12-29 20:19:37 -05:00
alexchao26 0d2ecc9150 2021 done! day25 code is hideous but... it usually is :) 2021-12-29 20:02:14 -05:00
alexchao26 42b14e00f7 2021 day22, took a while to figure out but just make a big list of on/off cubes 2021-12-29 20:01:24 -05:00
alexchao26 dfe5ee9343 2021-24, yay a whole day staring at assembly and reverse engineering it to hard code it -_- 2021-12-26 23:04:06 -05:00
alexchao26 dd88e03f2c 2021 day23, its slow... but it works :) lots of small bugs that got hunted via tests 2021-12-25 22:34:04 -05:00
alexchao26 cd5d4b0a78 ../../.gitignore 2021-12-25 22:33:31 -05:00
alexchao26 189e1ed255 ugly 2021-day23-part1 solution, committing before i hack it apart for part2 2021-12-25 12:52:56 -05:00
alexchao26 9f8d0618a2 a little bit of cleanup, had rotations creating a bit off originally 2021-12-21 18:59:52 -05:00
alexchao26 9f1ad7c1aa 2021 day21, caught up! what a great problem today, so simple but fun to solve 2021-12-21 18:18:10 -05:00
alexchao26 f46e897f79 2021 day20, infinite space grid game of life with a maybe flickering infinite space. noticed it upfront thankfully 2021-12-21 14:11:41 -05:00
alexchao26 d405d523c4 2021-day19: ugly and slow but working... that was rough... also needs cleanup 2021-12-21 01:51:44 -05:00
alexchao26 37353d80fb 2021 day 18, ROUGH digging out small doubly linked list bugs :/ 2021-12-20 03:28:05 -05:00
alexchao26 84647b8a94 2021 day 13,15,16. need to clean up this code quite a bit 2021-12-18 12:22:42 -05:00
alexchao26 d9f24da95a 2021 day14, got confused with the recursive-stuff for part 2 :/ 2021-12-18 12:22:01 -05:00
alexchao26 c37bf58473 2021 day 17, brutal trying to optimize too early and getting trapped. brute force it is 2021-12-17 17:35:15 -05:00
alexchao26 63b6175468 2021 day12: graph traversals! i will clean this up one day... 2021-12-12 00:39:33 -05:00
alexchao26 f32239d2cb 2021 day11: fun game of life ish thing 2021-12-11 12:29:17 -05:00
Alex Chao 46d1c4a5a9 2021 day 10 (1470/1321), easy-ish balanced parens implementation 2021-12-10 13:39:40 -05:00
alexchao26 306222a790 2021 day9, 2797/2186, got wrecked by missing an = sign. fun day still! 2021-12-09 00:44:18 -05:00
alexchao26 c625101870 fix: make control flow 2021-12-08 21:37:27 -05:00
alexchao26 5de262fb6d 2021 day8 2852/1511, i am too lazy to clean this up... oof that was painful 2021-12-08 01:11:50 -05:00
Alex Chao fcdf31150b 2021 day7: oof integer rounding killed me... but thank goodness for a bit of tdd 2021-12-07 00:24:41 -05:00
alexchao26 bfefeca827 2021 day6: 180/1133 too naive of an apparoach for part 1 got me a little crossed up:/ 2021-12-06 00:20:54 -05:00
alexchao26 f5e5d0b5f6 update makefile scripts to run with only DAY set 2021-12-05 15:10:46 -05:00
alexchao26 a73e285aff improve test setup to include example 2021-12-05 15:08:21 -05:00
alexchao26 5c09098de4 2021 day 5, got x vs y mixed up with row vs col again... 1816/2249 2021-12-05 15:01:02 -05:00
alexchao26 16da3197b6 learning about regexp capture groups, seems like it could be quite useful... 2021-12-04 01:12:36 -05:00
alexchao26 b5922c52f8 2021 day 4: playing lots of bingo :) 2021-12-04 00:42:09 -05:00