MCPcopy Create free account
hub / github.com/corpsepiges/leetcode / sumRegion

Method sumRegion

python/304. Range Sum Query 2D - Immutable.py:16–25  ·  view source on GitHub ↗

sum of elements matrix[(row1,col1)..(row2,col2)], inclusive. :type row1: int :type col1: int :type row2: int :type col2: int :rtype: int

(self, row1, col1, row2, col2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected