方法一const arr = [5, 3, 1, 2, 8, 0, 4]
function fn(arr, left = 0, right = arr.length - 1) {
if (left >= right) ret
2023-05-25