Skip to content

Commit 72b3307

Browse files
committed
a
1 parent 9392d25 commit 72b3307

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed

CF/gp/gp1.md

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
## merge lists
66
- 156. Merge Intervals
77

8-
9-
10-
11-
12-
138
# Subarray
149
Sum(i~j) = PrefixSum[j + 1] - PrefixSum[i]
1510
## Winodw sum
@@ -24,25 +19,6 @@ Sum(i~j) = PrefixSum[j + 1] - PrefixSum[i]
2419
- 628. Maximum Subtree
2520

2621

27-
28-
29-
30-
# others
31-
## Window Sum
32-
- 604. window sum
33-
## topo sort
34-
- course schedule/II
35-
## graph
36-
- clone graph
37-
## list
38-
- copy copyRandomList
39-
## sorting
40-
- High Five
41-
- Log Sorting
42-
## others
43-
- K Closest
44-
45-
4622
# String
4723
## Hash 字符/字符串统计类问题
4824
- 646. First Position Unique Character
@@ -62,7 +38,6 @@ Sum(i~j) = PrefixSum[j + 1] - PrefixSum[i]
6238
- 415. Valid Palindrome
6339

6440

65-
6641
# BFS类问题
6742
- 二叉树上的宽搜 BFS in Binary Tree
6843
- 图上的宽搜 BFS in Graph
@@ -93,5 +68,29 @@ Sum(i~j) = PrefixSum[j + 1] - PrefixSum[i]
9368
- mapping old node to new node
9469
- conncet all edges (copy neighbors)
9570
- Graph Valid Tree
96-
## Minimum Spanning Tree
71+
## Topological Sorting (Directed)
72+
- Topological Sorting
73+
- collect in-degree 找到所有的 indegree
74+
- put all nodes that indgree == 0 into queue
75+
- bfs
76+
- Course Schedule I && II (to-do)
77+
- Sequence Reconstruction (to-do)
78+
## Minimum Spanning Tree (kruskal & Union Find Sets)
9779
- 589. Connecting Graph
80+
81+
82+
83+
# others
84+
## Window Sum
85+
- 604. window sum
86+
## topo sort
87+
- course schedule/II
88+
## graph
89+
- clone graph
90+
## list
91+
- copy copyRandomList
92+
## sorting
93+
- High Five
94+
- Log Sorting
95+
## others
96+
- K Closest

0 commit comments

Comments
 (0)