leetcode騰訊精選046

題目: https://leetcode-cn.com/problems/permutations/ 代碼: void dfs(vector<vector> &res,vector nums,vector &out,bool *f,int total) { int size = out.size(); if(size == total) { res.push_back(out); } for(in
相關文章
相關標籤/搜索