2 ms·
There are some Advent of Code 2021 solutions in TXR: https://www.kylheku.com/cgit/advent/tree https://www.kylheku.com/cgit/advent/tree That gives a flavor of
by kazinator 3y ago
There are some Advent of Code 2021 solutions in TXR:
https://www.kylheku.com/cgit/advent/tree https://www.kylheku.com/cgit/advent/tree
That gives a flavor of how those kinds of problems can be approached.
The solutions are all self-contained; they don't share any AoC-specific library or anything, and were developed with a throwaway program mindset, where we just solve that problem and don't try to produce anything that is reusable other than by copy paste into the next program.