Skip to content

Commit 40bdf6c

Browse files
committed
update
1 parent f16016f commit 40bdf6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/cn/codepub/algorithms/trees/GetPathsBySum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public static void main(String[] args) {
3838
l1.left = l2;
3939
l1.right = r2;
4040
int num = 22;//给定的整数
41-
dfs(root, new ArrayList<>());
41+
dfs(root, new ArrayList<Tree>());
4242
//这样就获取到了所有路径的集合
4343
for (List<Tree> list : pathsList) {
4444
int temp = 0;

0 commit comments

Comments
 (0)