day12, example

This commit is contained in:
efim
2023-12-12 15:05:09 +00:00
parent 7032666476
commit 3a43f90431
5 changed files with 147 additions and 3 deletions

8
day12/notes.org Normal file
View File

@@ -0,0 +1,8 @@
#+title: Notes
* i guess let's generate all possible? and short circuit when they are not matching mask
how do i generate all possible?
i take length of the mask, that's max size
then for each step, either put . or put n # from the input.
add to current string, and do 2 recursive calls, one with diminished 'queue', one with same