Largest Square Side Length Whose Every Subgrid Stays Within a Cap

Company: CMART

Difficulty: medium