class Solution { public: void subPermutation(string &str,int pos,vector<string> &temp){ int size=str.size(); if(pos==size-1) temp.push_back(str); for(int i=pos;i<size;i++) { if(i==pos) subPermutation(str, p...