Commit Graph

205 Commits

Author SHA1 Message Date
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
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