Problem 1351 · Easy

Count Negative Numbers in a Sorted Matrix

Count negative cells in a row- and column-nonincreasing matrix.

Open the interactive visualisation