代码随想录算法训练营第二十七天|● 39. 组合总和 ● 40.组合总和II ● 131.分割回文串
仅做学习笔记,详细请访问代码随想录●39.组合总和●40.组合总和II●131.分割回文串●39.组合总和//版本一classSolution{private:vector>result;vectorpath;voidbacktracking(vector&candidates,inttarget,intsum,intstartIndex){if(sum>target){return;}if(su