Commit Graph

46 Commits

Author SHA1 Message Date
alexchao26 b8c031d229 update scripts 2021-12-01 22:13:12 -05:00
alexchao26 feb7be9152 cleanup effort pt 1 2020-12-28 22:47:58 -05:00
alexchao26 666518f507 !changed mathutil package to mathy, removed int/string casting from mathy 2020-12-27 17:21:33 -05:00
alexchao26 b16244eac6 hah intcode didn't come back this year 2020-12-25 01:30:04 -05:00
alexchao26 1e269d7988 2020-day25: 2020 finished! "breaking" mock public key cryptography 2020-12-25 00:48:10 -05:00
alexchao26 46a418393c 2020-day24: hex coordinates are tough. 1240/668 2020-12-24 00:51:14 -05:00
alexchao26 afa0f4384d 2020-day23: 1250/199 - LRU cache problem, might've leaderboarded if I was a little sharper on remembering my hacky part 1 implementation 2020-12-23 01:26:30 -05:00
alexchao26 9f476aa8f3 removed input and prompt files per aoc-creator 2020-12-22 16:12:08 -05:00
alexchao26 28f8cd85ed day22 optimization: 30s -> <0.5s 2020-12-22 16:06:59 -05:00
alexchao26 736949b9bb 2020-day22: 537/997 recursive "war" card game. hard instructions to get right on the first go 2020-12-22 01:33:59 -05:00
alexchao26 46c54feff4 moved grid orientation generation into algos package 2020-12-21 20:09:19 -05:00
alexchao26 77af0b157a refactored to use packaged data-structures 2020-12-21 19:56:28 -05:00
alexchao26 116524bec7 2020-day21: so close! 225/127, running joins to find allergens in a list of hashed names 2020-12-21 00:41:20 -05:00
alexchao26 e1646bfdfd 2020-day20: OOF, monster (hah) backtracking algo, and then some... 2020-12-20 15:35:46 -05:00
alexchao26 50fcc7d507 2020-day19: oof 1200/1018. Crazy graph traversal for permutations, then hacking together regexp 2020-12-19 13:22:32 -05:00
alexchao26 6c83ac5e5a 2020-day18: refactor to slightly nicer stack implementation, still str <-> int conversions everywhere... 2020-12-18 19:36:19 -05:00
alexchao26 a5e3c80111 2020-day18: balanced parens calculator... gross initial solution... 2020-12-18 01:16:23 -05:00
alexchao26 bf9d5a97e7 2020-day17: generalized solution for both parts, 4D game of life 2020-12-17 19:18:55 -05:00
alexchao26 e0e54dc95e 2020-day17 initial solution, it ain't pretty 2020-12-17 18:28:42 -05:00
alexchao26 094477ef63 2020-day16: slow/730 - lots of input parsing, sample set -> corresponding rules 2020-12-16 00:58:11 -05:00
alexchao26 1e2a250acd 2020-day15 so close :( 600/209. difficult to just understand the prompt. brute forced a dictionary for pt 2
2017-day10 weird fake hashing, xor and hexadecimals
2020-12-15 00:22:41 -05:00
alexchao26 eb4f03269d 2020-day14: bitwise nonsense but got there eventually... ~2500? 2020-12-14 01:33:14 -05:00
alexchao26 eb2eacdf9e updated template script for test args order 2020-12-13 02:34:03 -05:00
alexchao26 9e86d9784d 2020-day13:oof modular arithmetic that I do not know... 2020-12-13 02:30:57 -05:00
alexchao26 975bc3346d 2020-day12: 243 on part 1, then confused the heck out of myself for part 2 w/ x/y vs row/col vs x,y coordinates and rotating around the origin.. 2020-12-12 01:20:13 -05:00
alexchao26 bf32c8c51c 2020 day11 - 2D grid & frequency/game of life - 650/300 2020-12-11 00:43:28 -05:00
alexchao26 1fec4f74d3 updated util packages 2020-12-10 01:04:51 -05:00
alexchao26 b9a74cf122 2020 day 10 - memoized or dynamic programming to calculate paths/possibilities, ~830 2020-12-10 00:46:21 -05:00
alexchao26 e48c6de353 2020 day 09 two sum and sliding window 2020-12-09 18:14:24 -05:00
alexchao26 d6163b873e refactored intcode 2020-12-08 18:51:29 -05:00
alexchao26 089c1bc215 2020 day 8 - game console/assmebly language computer 2020-12-08 00:28:06 -05:00
alexchao26 49de18c919 2020 day 7 - graph traversal; parsed inputs way too slowly 2020-12-07 00:51:08 -05:00
alexchao26 9a9dec2523 2020 day 6 - string parsing and hash maps to collect counts 2020-12-06 00:20:45 -05:00
alexchao26 88b0ce7593 2020 day5 - ugh off by one w/ funky binary search 2020-12-05 00:32:02 -05:00
alexchao26 3293e9c3e9 2020 day04 string parsing and validation, regexp ^ and $ killed me 2020-12-04 01:21:28 -05:00
alexchao26 397aac8fa6 cleanup 2020-12-03 21:04:50 -05:00
alexchao26 7e5fd32331 template update 2020-12-03 00:37:03 -05:00
alexchao26 ce80ce9f81 2020 day 3 - simple 2d grid traversal 2020-12-03 00:28:22 -05:00
alexchao26 79925f6507 2020 day2 - string parsing & simple validation 2020-12-02 00:32:39 -05:00
alexchao26 e105098728 2020 day1 - two/three sum 2020-12-01 00:31:43 -05:00
alexchao26 43ad04293d 2018 day 07 - graph & multiple workers 2020-11-30 12:33:10 -05:00
alexchao26 884f43e9bf cleanup tests
updated 2020 templates for easier addition of tests
2020-11-29 20:21:15 -05:00
alexchao26 1cac95e4f9 2018 day06 solution, patch 2020 scripts missing flag.Parse() 2020-11-29 20:03:29 -05:00
alexchao26 f1e7900b8b 2020 folder setup 2020-11-29 16:05:41 -05:00
alexchao26 045d73b069 modified scripts to use a folder for each day - prevent a huge package "namespace" headache 2020-11-27 14:27:43 -05:00
alexchao26 4fc1a1e94f added scripts and 2020 folder 2020-11-27 02:54:14 -05:00