Problem
674. Longest Continuous Increasing Subsequence
Java
Sliding Window
Sliding Window problems are a subset of dynamic programming problems, though the approach to solving them is quite different from the one used in solving tabulation or memoization problems.
1 | class Solution { |
Submission Detail
- 36 / 36 test cases passed.
- Runtime: 1 ms, faster than 98.29% of Java online submissions for Longest Continuous Increasing Subsequence.
- Memory Usage: 39.7 MB, less than 70.15% of Java online submissions for Longest Continuous Increasing Subsequence.
my solution
1 | class Solution { |
Submission Detail
- 36 / 36 test cases passed.
- Runtime: 1 ms, faster than 98.29% of Java online submissions for Longest Continuous Increasing Subsequence.
- Memory Usage: 39.9 MB, less than 41.25% of Java online submissions for Longest Continuous Increasing Subsequence.