ETOOBUSY 🚀 minimal blogging for the impatient
In particular, in the last days I appreciated a couple of puzzles:
- puzzle 7 is a nice variation on the problem of scheduling tasks. It builds up, by first asking to produce a simple plan ordering tasks so that pre-requisites are executed before their descendants, then asking also to take execution time and parall execution into consideration;
- puzzle 8 asks you to parse the input to build up a tree, then execute a couple of queries over it.
The second would have been great to learn Raku Grammars but it seemed difficult to express the variable size nature of the children’s list, so I opted for a more traditional recursive solution based on subroutines. I suspect this would have been a good time to try them out though.
Well, enough notekeeping for today, stay safe and have