2024 Day 12: Garden Groups (spoiler)

I construct regions by adding one cell at time. It could be that when I add a next cell it joins two disjoined regions in one. In this case I increase one of them and eliminate another one by setting its area to be zero. To visualize this situation I draw one of these region in black and strike it out in the table after elimination.

1 Like