Commit Graph

277 Commits

Author SHA1 Message Date
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
Alex Chao e310082cac 2021 day3, what is dry code 2021-12-03 11:28:09 -05:00
alexchao26 00369ca422 day 2, knocking off rust still 2021-12-02 00:23:58 -05:00
alexchao26 b8c031d229 update scripts 2021-12-01 22:13:12 -05:00
Alex Chao 2888e20870 2021 day 1! 2021-12-01 11:42:10 -05:00
Alex Chao 632daf1a20 file mode 2021-02-03 11:23:20 -05:00
Alex Chao 16a564344f Create LICENSE.md 2020-12-30 12:35:34 -05:00
alexchao26 feb7be9152 cleanup effort pt 1 2020-12-28 22:47:58 -05:00
alexchao26 05ca29c8f2 300 *'s :) 2020-12-28 16:35:26 -05:00
alexchao26 bfb5361863 fixed incorrect test input for 2015/5 2020-12-28 00:49:27 -05:00
alexchao26 5c933fecb6 2015-day24 code pulled into algos and mathy packages 2020-12-28 00:42:17 -05:00
alexchao26 c2451d4268 patched some warning for raw int to string conversions 2020-12-28 00:41:49 -05:00
alexchao26 077378f12c 2015-day25: thank goodness this wasn't modular arithmetic 2020-12-28 00:06:30 -05:00
alexchao26 f57ebe956e 2015-day24: combinations, a lot of assumptions can be made about the input shape 2020-12-27 23:44:17 -05:00
alexchao26 2dd05efae2 2015-day23: an actually easy assembly computer 2020-12-27 20:30:40 -05:00
alexchao26 37c74e2adb 2015-day22: memoized battle simulator, lots of states to sift through 2020-12-27 20:09:01 -05:00
alexchao26 c6c4131c4e look at this ugly function with 9 params :) 2020-12-27 19:40:02 -05:00
alexchao26 666518f507 !changed mathutil package to mathy, removed int/string casting from mathy 2020-12-27 17:21:33 -05:00
alexchao26 57fff6d829 2015-day20: slow-ish solution for infinite elves delivering to infinite houses 2020-12-27 15:53:12 -05:00
alexchao26 9693aec1a9 2015-day19: some chemistry... silly solution of shuffling the order of reactions 2020-12-27 15:30:57 -05:00
alexchao26 cb4ef93653 2015-day18: game of life w/ lights 2020-12-26 22:08:13 -05:00
alexchao26 e8b6c9cbde 2015-day17: recursive backtrack to valid combinations 2020-12-26 21:52:22 -05:00
alexchao26 66a7bd706b 2015-day16: finding aunt sue, spent an hour having < > facing the wrong way... 2020-12-26 21:11:19 -05:00
alexchao26 1bc72e63d7 2015-day15: cookie science, gross nested for loops 2020-12-26 19:39:35 -05:00
alexchao26 3c078ace91 2015-day14: reindeers running & stopping 2020-12-26 18:31:34 -05:00
alexchao26 15e8ac8cf4 2015-day13: best permutaiton for seating around a table 2020-12-26 18:08:10 -05:00
alexchao26 44e9fdae09 algos permutation method names changed to algos.PermuteTYPE 2020-12-26 18:01:33 -05:00
alexchao26 1ff4e487f9 2015-day12: missing having willy-nilly JSON.parse() 2020-12-26 17:17:51 -05:00
alexchao26 b36d034679 2015-day11: incrementing strings until validated 2020-12-26 16:13:17 -05:00
alexchao26 4c15ca1606 added extra ascii consts 2020-12-26 16:12:36 -05:00
alexchao26 170d43a7ec updated cast panic to echo arg type 2020-12-26 15:46:17 -05:00
alexchao26 aed39a0ede 2020-day10: strings.Builder to the rescue again 2020-12-26 15:45:58 -05:00
alexchao26 f11e4f463b 2015-day09: traveling salesman/santa 2020-12-26 15:09:38 -05:00
alexchao26 5c5fb7961f 2015-day8: calculating encoded and decoded string lengths 2020-12-26 14:41:32 -05:00
alexchao26 2738d6a271 2015-day7: memo-ed graph dfs 2020-12-26 14:07:21 -05:00
alexchao26 7a8155b606 2015-day06: grid toggling/incrementing & decrementing 2020-12-26 02:25:48 -05:00
alexchao26 bb22002cb9 2015-day05: string validation 2020-12-26 02:18:04 -05:00
alexchao26 705884d080 2015-day4: md5 hashing 2020-12-26 02:08:25 -05:00