Commit Graph

172 Commits

Author SHA1 Message Date
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 228a6853e2 2017-day17: brute force 2020-12-16 22:34:17 -05:00
alexchao26 ae1401129e 2017-day16: another frequency finding one 2020-12-16 21:17:06 -05:00
alexchao26 f03568e4d8 2017-day15: some bitwise stuff to compare binary numbers 2020-12-16 18:11:34 -05:00
alexchao26 adb8381b85 2017-day14: knot hash, num islands, disk defrag :) 2020-12-16 18:11:34 -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 81adaec4b9 2017-day13: frequency calculation 2020-12-15 23:58:43 -05:00
alexchao26 1b5fb9d8fb 2017-day12: counting groups in a graph 2020-12-15 20:24:52 -05:00
alexchao26 6f555107c3 2017-day11: hex grid version of manhattan distance 2020-12-15 20:23:45 -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 0bc9afb7e0 2017-day9: balanced parens with a twist 2020-12-14 20:20:17 -05:00
alexchao26 1878c6c91c 2017-day08: longer assembly instructions :/ 2020-12-14 19:53:47 -05:00
alexchao26 9eaf35506a 2017-day7: unidirectional graph, weird weights 2020-12-14 18:48:36 -05:00
alexchao26 eb4f03269d 2020-day14: bitwise nonsense but got there eventually... ~2500? 2020-12-14 01:33:14 -05:00
alexchao26 7b59c510d8 2017-day6: cycling until state repeats itself 2020-12-13 21:18:16 -05:00
alexchao26 5d7c500bf6 2017-day5: simple jumping around a slice 2020-12-13 20:54:28 -05:00
alexchao26 8b9f9ede76 2017-day4: comparing strings 2020-12-13 20:40:31 -05:00
alexchao26 eab6a4f4e3 2017-day3:spiraling around a point 2020-12-13 20:32:07 -05:00
alexchao26 7ccfca0897 2017-day2: more modulo stuff 2020-12-13 18:18:14 -05:00
alexchao26 e44b2ea99f 2017-day1: mod to stay in circular array/slice 2020-12-13 18:04:03 -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 7d03c33c61 modified template script, more in-line w/ generated code 2020-12-12 21:41:06 -05:00
alexchao26 15c41ba227 2018-day25: UGLY graph grouping solution...but 2018 completed! 2020-12-12 21:24:03 -05:00
alexchao26 398218e1bd 2018-day21: super confusing intcode solving 2020-12-12 21:20:52 -05:00
alexchao26 9619c379ee 2018-day15: lots of code for elf vs goblin battles 2020-12-12 17:23:24 -05:00
alexchao26 0df13683fb 2018-day15: passing tests but too low on actual input 2020-12-12 03:25:08 -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 94aaf24b9d 2018-day20: prompt was really confusing, it's not generating recursive branches, it just visits the branches 2020-12-11 21:47:34 -05:00
alexchao26 10cb3a3ab3 2018-day22: ugly nested memo calculator, heap datastrcture for djikstra queue 2020-12-11 13:44:18 -05:00
alexchao26 37323d56a3 update util 2020-12-11 00:43:47 -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 632d524c31 renamed folder and package name for better intellisense 2020-12-09 22:49:37 -05:00
alexchao26 1c498b4389 added generalized min and max heap implementations 2020-12-09 22:27:50 -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 9f0e632b62 2018 day23 crazy shrinking box solution, kind of a binary search 2020-12-07 22:55:43 -05:00
alexchao26 49de18c919 2020 day 7 - graph traversal; parsed inputs way too slowly 2020-12-07 00:51:08 -05:00
alexchao26 23d832f6ea 2020 day 24 - simulating immune system battle, so many instructions... & a binary search 2020-12-06 21:22:51 -05:00
alexchao26 9a9dec2523 2020 day 6 - string parsing and hash maps to collect counts 2020-12-06 00:20:45 -05:00
alexchao26 d3d97e1db3 too slow for day20 2020-12-05 17:48:04 -05:00
alexchao26 c8ee6a442a 2018 day 19 - brutal intcode problem... 2020-12-05 00:45:13 -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