Skip to content

fix: 修复快速排序代码中的笔误#413

Open
Kitten9533 wants to merge 1 commit intofebobo:masterfrom
Kitten9533:patch-1
Open

fix: 修复快速排序代码中的笔误#413
Kitten9533 wants to merge 1 commit intofebobo:masterfrom
Kitten9533:patch-1

Conversation

@Kitten9533
Copy link

示例最下方有笔误return rec(arr)错写成了return res(arr)
image

修改为return rec(arr)后,使用测试数据成功。
var arr = [3, 1, 4, 5, 2, 8, 22, 12, 32, 24]
quickSort(arr)
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant