[LeetCode] 1351. Count Negative Numbers in a Sorted Matrix 统计有序矩阵中的负数

Given a `m x n` matrix `grid` which is sorted in non-increasing order both row-wise and column-wise, return *the number of **negative** numbers in* `g
posted @ 2023-08-06 00:40  Grandyang  阅读(220)  评论(0编辑  收藏  举报
Fork me on GitHub