摘要:代码及说明 <?php //注意这里的参数 $arr 使用的地址传递 function quickSort(&$arr, $low, $high) { //当起始位置不小于终止位置时停止递归 if ($low > $high) { return; } $first = $low; $last = $
阅读全文
posted @ 2021-04-22 19:47
posted @ 2021-04-22 19:47