MCPcopy Create free account
hub / github.com/LjyYano/LeetCode / dfs

Method dfs

src/main/java/L0113_PathSumII.java:55–76  ·  view source on GitHub ↗

深度优先搜索查找所有满足条件的路径 @param node 当前节点 @param targetSum 目标和 @param currentPath 当前路径 @param result 结果集

(TreeNode node, int targetSum, List<Integer> currentPath, List<List<Integer>> result)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pathSumMethod · 0.95

Calls 2

addMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected