We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5483fe4 commit 9479a74Copy full SHA for 9479a74
C++/count-submatrices-with-top-left-element-and-sum-less-than-k.cpp
@@ -1,4 +1,4 @@
1
-// Time: O(n^2)
+// Time: O(n * m)
2
// Space: O(1)
3
4
// prefix sum
0 commit comments