class Solution { public: vector<string> Permutation(string str) { vector<string> ans; if(str.length() == 0) return ans; permutation(ans,str,0); return ans; } void permutation(vector<string> &ans,string str,int ...