Skip to content

Commit e3d0232

Browse files
committed
Runtime: 1 ms (Top 97.73%) | Memory: 44.9 MB (Top 43.86%)
1 parent fb916f4 commit e3d0232

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/algorithms/M/Maximum Product Subarray/Maximum Product Subarray.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 1 ms (Top 97.73%) | Memory: 44.9 MB (Top 43.86%)
12
class Solution {
23
public int maxProduct(int[] nums) {
34
int ans = Integer.MIN_VALUE;
@@ -15,4 +16,4 @@ public int maxProduct(int[] nums) {
1516
}
1617
return ans;
1718
}
18-
}
19+
}

0 commit comments

Comments
 (0)