Dropbox interview question

Matrix row sum data structure