Advent of OCaml, day 7, solved 🥵
This one threw me for a bit but once I drew the path finding out on paper and stared at it for ... uhm, 40 minutes I got it.
Even though this is mostly imperative, I contend you still have edge using OCaml when it comes to understanding state machine transitions.
6 months ago