304 Range Sum Query 2D - Immutable
https://leetcode.com/problems/range-sum-query-2d-immutable/
solution
把前缀和拓展到二维,即积分图(image integral)
时间复杂度:O(mn) 空间复杂度:O(mn)
Last updated
https://leetcode.com/problems/range-sum-query-2d-immutable/
把前缀和拓展到二维,即积分图(image integral)
时间复杂度:O(mn) 空间复杂度:O(mn)
Last updated