Skip to content

Commit d97086d

Browse files
refactor 674
1 parent 085e894 commit d97086d

File tree

1 file changed

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

1 file changed

+0
-18
lines changed

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

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

3-
/**
4-
* 674. Longest Continuous Increasing Subsequence
5-
* Given an unsorted array of integers, find the length of longest continuous increasing subsequence.
6-
7-
Example 1:
8-
Input: [1,3,5,4,7]
9-
Output: 3
10-
Explanation: The longest continuous increasing subsequence is [1,3,5],
11-
its length is 3. Even though [1,3,5,7] is also an increasing subsequence,
12-
it's not a continuous one where 5 and 7 are separated by 4.
13-
14-
Example 2:
15-
Input: [2,2,2,2,2]
16-
Output: 1
17-
Explanation: The longest continuous increasing subsequence is [2], its length is 1.
18-
19-
Note: Length of the array will not exceed 10,000.
20-
*/
213
public class _674 {
224
public static class Solution1 {
235
public int findLengthOfLCIS(int[] nums) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy