Skip to content

Commit 6ed53e8

Browse files
refactor 463
1 parent bb51126 commit 6ed53e8

File tree

1 file changed

+0
-19
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-19
lines changed

src/main/java/com/fishercoder/solutions/_463.java

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,5 @@
11
package com.fishercoder.solutions;
2-
/**
3-
* 463. Island Perimeter
4-
*
5-
* You are given a map in form of a two-dimensional integer grid where 1 represents land and 0 represents water.
6-
* Grid cells are connected horizontally/vertically (not diagonally).
7-
* The grid is completely surrounded by water, and there is exactly one island (i.e., one or more connected land cells).
8-
* The island doesn't have "lakes" (water inside that isn't connected to the water around the island).
9-
* One cell is a square with side length 1.
10-
* The grid is rectangular, width and height don't exceed 100. Determine the perimeter of the island.
112

12-
Example:
13-
14-
[[0,1,0,0],
15-
[1,1,1,0],
16-
[0,1,0,0],
17-
[1,1,0,0]]
18-
19-
Answer: 16
20-
Explanation: The perimeter is the 16 yellow stripes in the image below:
21-
*/
223
public class _463 {
234

245
public static class Solution1 {

0 commit comments

Comments
 (0)