We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce209b4 commit 306be4aCopy full SHA for 306be4a
C++/count-unguarded-cells-in-the-grid.cpp
@@ -1,7 +1,7 @@
1
// Time: O(m * n)
2
// Space: O(m * n)
3
4
-// array
+// array, simulation
5
class Solution {
6
public:
7
int countUnguarded(int m, int n, vector<vector<int>>& guards, vector<vector<int>>& walls) {
0 commit comments