跳出循环条件: l = r,这个时候l和r指向同一个元素,不用再进行比较 ... right = (int)rotateArray.size() - 1; while(left < right){//注意小于号, ...
確定! 回上一頁