Advent of Code 2021 - Day 18

Here is my solution:

UPDATE: I’ve also implemented a solution in Erlang with a different internal representation that simplifies the explode operation.

1 Like