cwdelphi

Results 1 comments of cwdelphi

```cpp class Solution { public: vector res; vector path; int n = 0; vector allPathsSourceTarget(vector& graph) { n = graph.size(); //用DFS还是回溯都是可以的! //backtrack(graph, 0); traverse(graph, 0); return res; } void backtrack(vector&...