Categorygithub.com/szhou12/leetcode-goleetcode2536-Increment-Submatrices-by-One
package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev

# README

2536. Increment Submatrices by One

Solution idea

2-D 差分数组

  • 二维差分数组的裸体,直接套用模版

Time complexity = $O(n^2)$

Resource

【每日一题】LeetCode 2536. Increment Submatrices by One