快速排序(arr,low,high): if low < high: pivot_index = partition(arr, low, high) 快速排序(arr, low, pivot_index - 1) 快速排序(arr, pivot_index + 1, high) partition(arr, low, high): pivot = arr[high] i = low - 1 for j = low to high - 1: if arr[j] < pivot: i = ...