咕泡P4軟件測試零基礎(chǔ)入門就業(yè)班
2022-09-29 22:53 作者:janet19961217 | 我要投稿
while (i != midIndex + 1) {
? ? ? ?[tempMutableArray replaceObjectAtIndex:k withObject:sourceMutableArray[i]];
? ? ? ?k ++;
? ? ? ?i ++;
? ?}
? ?while (j != endIndex + 1) {
? ? ? ?[tempMutableArray replaceObjectAtIndex:k withObject:sourceMutableArray[j]];
? ? ? ?k ++;
? ? ? ?j ++;
? ?}
? ?for (i = startIndex; i < endIndex; i ++) {
? ? ? ?[sourceMutableArray replaceObjectAtIndex:i withObject:tempMutableArray[i]];
? ?}
? ?return sourceMutableArray;}
標簽: