Skip to content

Commit bdeec5e

Browse files
authored
Improved task 2915
1 parent c3c8966 commit bdeec5e

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/g2901_3000/s2915_length_of_the_longest_subsequence_that_sums_to_target

1 file changed

+2
-2
lines changed

src/main/java/g2901_3000/s2915_length_of_the_longest_subsequence_that_sums_to_target/Solution.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package g2901_3000.s2915_length_of_the_longest_subsequence_that_sums_to_target;
22

3-
import java.util.List;
4-
53
// #Medium #Array #Dynamic_Programming #2023_12_28_Time_23_ms_(91.30%)_Space_44.5_MB_(66.47%)
64

5+
import java.util.List;
6+
77
public class Solution {
88
public int lengthOfLongestSubsequence(List<Integer> nums, int target) {
99
int[] dp = new int[target + 1];

0 commit comments

Comments
 (0)