Answer Immutable Rectangle Sums in Constant Query Time
Company: Google
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Other
Overview: Answer Immutable Rectangle Sums in Constant Query Time. Implement NumMatrix(matrix) and sumRegion(row1,col1,row2,col2). Return the sum inside the rectangle including both its upper-left and lower-right corners. The s