Skip to content

Commit 2def894

Browse files
committed
2
1 parent 7b23851 commit 2def894

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CF/gp/gp1.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,15 @@
1616
- 415. Valid Palindrome
1717

1818

19-
19+
# Subarray
20+
Sum(i~j) = PrefixSum[j + 1] - PrefixSum[i]
21+
## Winodw sum
22+
- 604. Window Sum
23+
- 642. Moving Average from Data Stream
24+
## subarray
25+
- 41. Maximum Subarray
26+
- 138. Subarray Sum
27+
- 139. Subarray Sum Closest
2028
# DFS
2129
## subtree
2230
- 628. Maximum Subtree

0 commit comments

Comments
 (0)