跟之前那个有重复数字的数组全排列一样 class Solution { public: void backtrack(vector<string> &result,string str,vector<int> &visited,string tmp,int length){ if(tmp.size()==length){ result.push_back(tmp); return; } for(int i=0;i<length;...