| 18 | } |
| 19 | |
| 20 | vector<vector<int>> combinationSum(vector<int>& candidates, int target) { |
| 21 | vector<vector<int>>ans; |
| 22 | vector<int> v; |
| 23 | |
| 24 | sort(candidates.begin(), candidates.end()); |
| 25 | |
| 26 | recur(ans,v,candidates,target,0); |
| 27 | |
| 28 | return ans; |
| 29 | } |
| 30 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected