CodePudding user response:
Sort method does not need to add a for loop, you that minIndex method directlyCodePudding user response:
Didn't watch carefully, probably want to write a swapInt k=arr [m].
Arr=arr [m] [I];
Arr [I]=k;
CodePudding user response:
Positive solution on the second floor. Methods one traversal, incoming parameters directly in the sort method.CodePudding user response:
Has solved the thank you