Skip to content

Commit 47d99b6

Browse files
refactor 300
1 parent 1556161 commit 47d99b6

File tree

1 file changed

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

1 file changed

+0
-13
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,6 @@
22

33
import java.util.Arrays;
44

5-
/**
6-
* 300. Longest Increasing Subsequence
7-
*
8-
* Given an unsorted array of integers, find the length of longest increasing subsequence.
9-
For example,
10-
Given [10, 9, 2, 5, 3, 7, 101, 18],
11-
The longest increasing subsequence is [2, 3, 7, 101], therefore the length is 4.
12-
Note that there may be more than one LIS combination, it is only necessary for you to return the length.
13-
14-
Your algorithm should run in O(n2) complexity.
15-
16-
Follow up: Could you improve it to O(nlogn) time complexity?
17-
*/
185
public class _300 {
196

207
public static class Solution1 {

0 commit comments

Comments
 (0)