Cruise interview question

Leetcode 308

Interview Answer

Anonymous

Feb 13, 2018

I used a naive way by constructing a matrix that stores the sum, and then update that matrix.

2