Square Infection Minimum

Medium mathematics interview practice: Square Infection Minimum.

Explore this problem with a Quantercise subscription.