Solutions to Advent of Code (2022) using Golang
Each cube has 6 faces. Every adjacency takes away 2 faces (1 on each cube). If we loop over all the possible pairings we can find how many faces are covered.
Solutions to Advent of Code (2022) using Golang
Each cube has 6 faces. Every adjacency takes away 2 faces (1 on each cube). If we loop over all the possible pairings we can find how many faces are covered.