Skip to content

Commit 306be4a

Browse files
authored
Update count-unguarded-cells-in-the-grid.cpp
1 parent ce209b4 commit 306be4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

C++/count-unguarded-cells-in-the-grid.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Time: O(m * n)
22
// Space: O(m * n)
33

4-
// array
4+
// array, simulation
55
class Solution {
66
public:
77
int countUnguarded(int m, int n, vector<vector<int>>& guards, vector<vector<int>>& walls) {

0 commit comments

Comments
 (0)