Available question text
Repeatedly remove each row's largest remaining element and add the maximum of those removed to your score until the matrix is empty; return the final score. A common approach is to sort each row and sum the column-wise maxima across the sorted rows.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2679. Sum in a Matrix
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source