Skip to content

Commit 05be332

Browse files
refactor 562
1 parent ed62f3d commit 05be332

File tree

1 file changed

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

1 file changed

+0
-17
lines changed

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

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* Created by fishercoder on 4/23/17.
5-
*
6-
* 562. Longest Line of Consecutive One in Matrix
7-
*
8-
* Given a 01 matrix m, find the longest line of consecutive one in the matrix. The line could be horizontal, vertical, diagonal or anti-diagonal.
9-
10-
Example:
11-
12-
Input:
13-
[[0,1,1,0],
14-
[0,1,1,0],
15-
[0,0,0,1]]
16-
17-
Output: 3
18-
Hint: The number of elements in the given matrix will not exceed 10,000.
19-
*/
203
public class _562 {
214

225
public static class Solution1 {

0 commit comments

Comments
 (0)