Commit a6a505ae authored by onion's avatar onion
Browse files

1351 solved

parent 06977268
......@@ -169,7 +169,8 @@ var countNegatives = function(arr) {
## 复杂度分析
时间复杂度: O(m)。
时间复杂度: O(mn)。 因为如果矩阵中所有的数都为正数,那么要遍历整个矩阵,所以时间复杂度是O(mn)。
空间复杂度:O(1)。
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment