Commit Graph

241 Commits

Author SHA1 Message Date
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
alexchao26 33fb66a61e 2015-day3: moving santa & a robot around a square grid 2020-12-26 01:58:27 -05:00
alexchao26 f1568be309 2015-day02: simple geometry calcs 2020-12-26 01:04:54 -05:00
alexchao26 1d09030c28 2015-day01 2020-12-26 00:54:58 -05:00
alexchao26 94d2e879b0 2016-day11: one of the hardest aoc problems yet... essentially a bfs next states 2020-12-26 00:50:13 -05:00
alexchao26 cb4dadb7fc day25: ugh manually parsing assembly sucks 2020-12-26 00:16:29 -05:00
alexchao26 b20b1c44b3 2016-day24: bfs to make weighted graph -> dfs to find shortest path through all nodes 2020-12-25 15:16:37 -05:00
alexchao26 798609bff5 2016-day23: easiest assembly manual understanding so far 2020-12-25 02:43:21 -05:00
alexchao26 24bb75d7e4 2016-day22: really manual solve but wrote some non-generalized code version of it too 2020-12-25 01:32:31 -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 edda0c9b90 update perms generating algo 2020-12-24 21:56:21 -05:00
alexchao26 207d088a09 2016-day21: gross scrambling and then checking permutations 2020-12-24 21:39:50 -05:00
alexchao26 d1a81dcfcb 2016-day20: did an unnecessary merge ranges 2020-12-24 18:41:02 -05:00
alexchao26 5f678bc014 2016-day19: circular LL for removing elves from a table 2020-12-24 17:43:30 -05:00
alexchao26 4f0b6e63ad 2016-day18: game of life-y rows 2020-12-24 16:35:49 -05:00
alexchao26 e9529a7850 added Length receiver function to heap 2020-12-24 15:29:17 -05:00
alexchao26 1bf242ceb7 2016-day17: md5 for bfs directions 2020-12-24 15:28:35 -05:00
alexchao26 0e058b5c42 2016-day16: strings.Builder to the rescue 2020-12-24 02:06:16 -05:00
alexchao26 46a418393c 2020-day24: hex coordinates are tough. 1240/668 2020-12-24 00:51:14 -05:00
alexchao26 f78cd9fb07 2016-day15: simple linear equation for position alignments 2020-12-23 23:01:27 -05:00
alexchao26 883f71fda3 2016-day14: more md5 stuff 2020-12-23 22:21:03 -05:00
alexchao26 64c9b6d466 2016-day13: bfs a grid with some extra math equation 2020-12-23 21:01:28 -05:00
alexchao26 0c00fc6cba 2016-day12: assembly computer 2020-12-23 20:17:42 -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 c7da89ec4b algos added for splitting on multiple seperators 2020-12-22 23:10:30 -05:00
alexchao26 10abb50bca 2016-day10: parsing this input sucked... bots passing microchip values around 2020-12-22 22:39:23 -05:00
alexchao26 394c0d2d47 2016-day9: really... ugly... dfs string parsing algo 2020-12-22 21:16:13 -05:00
alexchao26 0e5a6142a2 2016-day8: rotating rows & cols of a 2D grid 2020-12-22 20:09:03 -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 64bb5a644b 2016-day7: more string validation stuff 2020-12-21 23:40:47 -05:00
alexchao26 8b1c67af3f 2016-day6: hashmap tallying up 2020-12-21 22:59:37 -05:00
alexchao26 6af666ac39 2016-day05: md5 hashing, slowww 2020-12-21 22:39:08 -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