Source: Day 12: Garden Groups
Full solution for today (spoilers!).
Part 1
Given a
Gridof regions, calculate the sum of the productperimeter * areafor each region.
Full solution for today (spoilers!).
Given a
Gridof regions, calculate the sum of the productperimeter * areafor each region.