Analysis
- DFS search all the path and return all the satisfied path
Note
- If pointer is passed as parameter, attention should be paid if it is a NULL pointer
- If all the solution (vector<vector<int>>) is required to be returned, attention should be paid if there is no satisfied solution, the {} should be returned rather then {{}}
No comments:
Post a Comment
Enter you comment