MCPcopy Create free account
hub / github.com/codedecks-in/LeetCode-Solutions / pathSum

Method pathSum

C++/Path-Sum-II.cpp:31–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30 }
31 vector<vector<int>> pathSum(TreeNode* root, int sum) {
32 vector<vector<int>>v;
33 vector<int>k;
34 dfs(v,k,root,sum);
35 return v;
36 }
37};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected