for (intj = i + 1; j < arr.length; j++) {. if (arr[j] > currentMax) {. currentMax = arr[j];. currentIndex = j;. } } if (currentIndex != i) {.
確定! 回上一頁