class Solution {
public:
string LeftRotateString(string str, int n) {
while(n--){
char temp = str[0];
remove(str.begin(), str.end(),temp);
str[str.size()-1] = temp;
}return str;
}
};
class Solution {
public:
string LeftRotateString(string str, int n) {
while(n--){
char temp = str[0];
remove(str.begin(), str.end(),temp);
str[str.size()-1] = temp;
}return str;
}
};