additive-then-subtractive-counting-pattern

Status: IN

Grid geometry problems (surface area, island perimeter) use an "add full contribution, then subtract shared faces" strategy — computing isolated values first, then removing occlusion — as a reusable template.

Source: entries/2026/06/06/surface-area-of-3d-shapes-solution.md

JSON