AOC/2023/Day13
21 Dec 2024 - 21 Dec 2024
- This is the first per-problem page I'm making, might be
- Made several stabs at this but run out of energy, too much fiddly stuff with fencepost errors, fixing it doesn't seem fun.
- I'm doing my usual very straightforward brute force thing, if there is a cleverer way I haven't seen it.
- The trick here will be memoizing, once the basic slide mechanics are working.
- My solution, if it ever works, will be wicked slow. Might need to switch to Java arrays.
- I suppose I should do it in Python for practice. Huh that's an idea. It's more of a Pythonesque problem anyway. The array stuff would be easier, the memoization harder.
- Would need to define a key function.
- Also trying out Clerk, because repl is being stupid. Also Emacs is a fucking disaster.
- OK, got slide left working, need to generalize to other 3 dimensions
- Argh, finally finished, but that was a struggle of tedious small tasks. The obvious bit was not doing default memoization but instead cycle detection. Duh.