GoAlgo

LeetCode 2132:二维前缀和+差分

sanyinchen

https://leetcode.cn/problems/stamping the grid/description/ 一、题目解析 1.1 题意 给一个 m×n 的网格 grid,0 是空地,1 是障碍物。你有一枚 stampHeight × stampWidth 的邮票,只能贴在全为 0 的矩形区域上。邮票可以重…

正在进入完整页面…