filmov
tv
Leetcode 304 Range Sum Query 2D - Immutable

Показать описание
304 Range Sum Query 2D - Immutable
Calculate the sum of the elements of matrix within the sub-matrix defined by its upper left corner (row1, col1) and lower right corner (row2, col2).
Calculate the sum of the elements of matrix within the sub-matrix defined by its upper left corner (row1, col1) and lower right corner (row2, col2).