-使用队列 import java.util.*; public class Solution { public String LeftRotateString(String str,int n) { String newstr=""; if(str.length()==0) return str; Queue<Character> queue = new LinkedList<>(); char[] ch=str.toCharArray(); ...