Commit Graph
88 Commits
Author SHA1 Message Date
ktims 6fed03a8e9 Import aoc2023 history into 2023/
git-subtree-dir: 2023
git-subtree-mainline: 284b85580d
git-subtree-split: 48c96ce7ea
2026-12-02 13:13:21 -07:00
ktims 284b85580d Import aoc2022 history into 2022/
git-subtree-dir: 2022
git-subtree-mainline: addb35fc75
git-subtree-split: e5d89711e2
2026-12-02 13:13:17 -07:00
ktims addb35fc75 Ignore callgrind output, .vscode and agentfiles 2026-12-02 13:13:08 -07:00
ktims c926c945de repo setup 2026-12-02 13:03:57 -07:00
ktims e5d89711e2 cleanup 2026-12-01 14:40:59 -07:00
ktims d1282256fa day5: both parts 2026-12-01 14:39:56 -07:00
ktims dd1adca41e day7: both parts 2026-12-01 13:36:28 -07:00
ktims 4f996e20bc cleanup 2025-12-01 17:16:23 -08:00
ktims a7c32b213f clippies 2025-12-01 17:15:54 -08:00
ktims aed73754c8 cleanup 2025-12-01 17:11:56 -08:00
ktims 1971d5a95c day4: both solutions 2025-12-01 16:55:44 -08:00
ktims b165cfce48 day3: both solutions 2025-12-01 16:24:28 -08:00
ktims 42d13d41b1 day2: both solutions 2025-12-01 14:49:08 -08:00
ktims 331755f1cf convert to aoc-runner and day1 solutions 2025-12-01 13:59:01 -08:00
ktims 48c96ce7ea day24: cheat solution used for part 2 submission 2024-12-11 09:54:10 -08:00
ktims 3a3c3c9ab6 day6: complete solution 2024-12-08 18:54:44 -08:00
ktims c737035fe0 repo setup 2024-12-08 18:54:25 -08:00
ktims 342f4c1883 day25: problem 1 solution - cheated with dot 2023-12-24 22:33:20 -08:00
ktims 881d0b08ad day24: problem 1 solution 2023-12-23 22:54:21 -08:00
ktims c1eb7761e3 day23: problem 2 solution 2023-12-23 02:54:07 -08:00
ktims 98456ed98d day23: problem 1 solution 2023-12-22 22:33:34 -08:00
ktims d6d4c0d056 gitignore 2023-12-22 20:58:14 -08:00
ktims 3bb3b3d6b6 day22: cleanup & nice output 2023-12-22 04:19:58 -08:00
ktims dd91259fe2 day22: problem 2 solution.
no help but annoyingly i misread the hint about low/high and didn't submit my *correct* answer for over an hour while I bug hunted!
2023-12-22 03:47:01 -08:00
ktims 8495969877 day22: problem 1 solution 2023-12-22 01:32:08 -08:00
ktims 190fc92842 day21: problem 2 solution
not proud of this one either, completely cheated and it does not get
exactly the correct error (it was off by one for my input), but the
quadratic solver on Wolfram Alpha was able to do it.
2023-12-21 03:17:11 -08:00
ktims eb6c1f42cd day 21: problem 1 solution
another unsatisfying one where i needed a visual hint to grok what i
should be doing.

a bunch of graph building stuff that wasn't needed for the part 1
solution at all.
2023-12-21 00:34:08 -08:00
ktims 512b05f624 day20: problem 2 solution - needed a hint 2023-12-20 01:48:09 -08:00
ktims 877101f9a2 day20: problem 1 solution 2023-12-20 00:13:23 -08:00
ktims cdfecf821c day19: refactoring and cleanup 2023-12-19 02:01:47 -08:00
ktims 2b921b5fb2 day19: problem 2 solution 2023-12-19 01:01:36 -08:00
ktims a5dea64b32 day19: problem 1 solution 2023-12-18 22:06:03 -08:00
ktims 8200c1a8cf root: add .rustfmt.toml 2023-12-18 02:04:22 -08:00
ktims 8d178ddfc6 day18: formatting and cleanup 2023-12-18 02:03:48 -08:00
ktims 3bc073f9b8 day18: problem 2 solution 2023-12-18 01:54:31 -08:00
ktims 0a9fa8e32f day18: problem 1 solution 2023-12-17 23:04:56 -08:00
ktims e65c17c8e6 day17: don't revisit the start position 2023-12-17 20:55:42 -08:00
ktims 3ee26cefe5 day17: super obvious code cleanups, more to do 2023-12-17 15:18:22 -08:00
ktims 9e37b2ce66 day17: add heatmap visualization of final path 2023-12-17 15:11:43 -08:00
ktims d422c9b84e day17: problem 2 - an ugly mess but finally working 2023-12-17 05:57:30 -08:00
ktims 5efa9853ca day17: problem 1 solution - a messy one! 2023-12-17 04:38:35 -08:00
ktims da25b73eca day16: use tail recursion unstead of passing mutable state 2023-12-16 11:07:39 -08:00
ktims 842def62dc day16: back to elegant recursion now that we track beams
problem 1 solution was busting the stack, so used an iterative approach,
but now that we track lit beams we can bail out early enough not to bust
the stack. performance is the same but it's much nicer.
2023-12-15 23:54:22 -08:00
ktims 427a0c766b day16: much cleaner, nicely factored solution, and much faster 2023-12-15 23:42:43 -08:00
ktims 332620db0f day16: problem 2 solution 2023-12-15 22:39:03 -08:00
ktims a8ec929818 day16: problem 1 solution 2023-12-15 22:19:46 -08:00
ktims f04078fbd7 boilerplate: remove unnecessary Duration import 2023-12-15 20:56:13 -08:00
ktims 498c96eaeb day5: reimplement in a sane, fast way 2023-12-15 18:10:29 -08:00
ktims 84bcbd550b day5: add timing 2023-12-15 18:09:49 -08:00
ktims e12c0134b0 day15: functional hash implementation using fold() 2023-12-14 23:33:48 -08:00