Skip to content

Commit 45e2fa8

Browse files
authored
Update and rename 463-island-perimeter.cpp to 463-Island-Perimeter.cpp
1 parent 21da449 commit 45e2fa8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp/463-island-perimeter.cpp renamed to cpp/463-Island-Perimeter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1+
// Time complexity is O(M*N)
2+
// Space complexity is O(1)
3+
14
class Solution {
25
public:
3-
// Time complexity is O(M*N)
4-
// Space complexity is O(1)
5-
66
int islandPerimeter(vector<vector<int>>& grid) {
77
int m = grid.size();
88
int n = grid[0].size();

0 commit comments

Comments
 (0)