npub1mt…nlc3m on Nostr: npub1aka6w…mzzz2 Interesting, the only changes I needed between part 1 and part 2 ...
npub1aka6wf78hfaqpz060r246dq80lmtjx6uf7wapct4ljluyfx956hszmzzz2 (npub1aka…zzz2) Interesting, the only changes I needed between part 1 and part 2 were swapping to 64 bit integers for the results and memoizing the "searches". Finishes in about a minute without much optimiziation.
It's not a normal concern, but AoC really pushes for solutions that don't use short lived memory allocations so my recursion's parameters were two integers related to the indices of my nonogram's line and clue properties.
It's not a normal concern, but AoC really pushes for solutions that don't use short lived memory allocations so my recursion's parameters were two integers related to the indices of my nonogram's line and clue properties.