Commit Graph

217 Commits

Author SHA1 Message Date
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
alexchao26 d30c9704a6 casting package started, this feels strange in Go... 2020-12-21 19:47:38 -05:00
alexchao26 8c6f322a5a added slice splicing, intersection, remove algos 2020-12-21 19:09:33 -05:00
alexchao26 2fe8df158f added string and int set implementations
.
2020-12-21 18:42:52 -05:00
alexchao26 08465fefc5 restructured data-structures folder, changed heap_test.go to external tests (package -> heap_test) 2020-12-21 18:34:49 -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 8a15e0eb82 2016-day04: caesar shift algo, validating checksum 2020-12-20 23:57:01 -05:00
alexchao26 2dbce844d4 2016-day03: validating triangle lengths 2020-12-20 23:17:18 -05:00
alexchao26 3412d43ec2 2016-day02: moving within the bounds of some 2D shape 2020-12-20 22:57:33 -05:00
alexchao26 8cfbc9d84e 2016-day01: walking/driving around a grid 2020-12-20 22:41:04 -05:00
alexchao26 fd9a076157 2017-day25: 2017 finished! this one seems worse than it is because of the parsing 2020-12-20 22:07:35 -05:00
alexchao26 8f8ffc86fa 2017-day24: recursive backtrack again, bubble up longest bridge and highest sum 2020-12-20 21:36:23 -05:00
alexchao26 eb24a4e548 2020-day23: ugh manually optimizing assembly 2020-12-20 19:04:39 -05:00
alexchao26 e1646bfdfd 2020-day20: OOF, monster (hah) backtracking algo, and then some... 2020-12-20 15:35:46 -05:00
alexchao26 228a8cda63 2017-day22: game of life from a single virus moving around 2020-12-19 23:29:29 -05:00
alexchao26 ec9a15afbe 2017-day21: sudoku-style grid plus game of life... 2020-12-19 21:51:28 -05:00
alexchao26 e5d6e111e4 2017-day20: particles moving in 3D space, velocity & acceleration 2020-12-19 16:47:48 -05:00
alexchao26 2eb562b2ee 2017-day19: simple following a 2D path 2020-12-19 14:24:51 -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 0be8f0f018 2017-day18: ugh assembly/intcode thing 2020-12-18 23:34:27 -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 228a6853e2 2017-day17: brute force 2020-12-16 22:34:17 -05:00