Skip to content

Commit 4ee87aa

Browse files
refactor 329
1 parent c3ab809 commit 4ee87aa

File tree

1 file changed

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

1 file changed

+0
-28
lines changed

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

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

3-
/**
4-
* 329. Longest Increasing Path in a Matrix
5-
*
6-
* Given an integer matrix, find the length of the longest increasing path.
7-
* From each cell, you can either move to four directions: left, right, up or down.
8-
* You may NOT move diagonally or move outside of the boundary (i.e. wrap-around is not allowed).
9-
10-
Example 1:
11-
12-
nums = [
13-
[9,9,4],
14-
[6,6,8],
15-
[2,1,1]
16-
]
17-
Return 4
18-
The longest increasing path is [1, 2, 6, 9].
19-
20-
Example 2:
21-
22-
nums = [
23-
[3,4,5],
24-
[3,2,6],
25-
[2,2,1]
26-
]
27-
Return 4
28-
The longest increasing path is [3, 4, 5, 6]. Moving diagonally is not allowed.
29-
*/
30-
313
public class _329 {
324

335
public static class Solution1 {

0 commit comments

Comments
 (0)