Skip to content

Commit 5d93f51

Browse files
update
1 parent bed2093 commit 5d93f51

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

22.1 KB
Binary file not shown.
Binary file not shown.

算法/排序算法.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ class Solution {
546546
int pivot = nums[last];
547547
// 记录中间的位置,一开始为 first
548548
int mid = first;
549-
// 遍历整个范围,最有一个单独比较不用取等 last
549+
// 遍历整个范围,最右一个单独比较不用取等 last
550550
for (int i = first; i < last; i++) {
551551
// 交换左边为小于轴的数
552552
if (nums[i] < pivot) {

0 commit comments

Comments
 (0)