mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-10 11:09:43 +08:00
Update CocktailShakerSort.js
This commit is contained in:
parent
508e4d1313
commit
9c9f694caa
@ -48,7 +48,6 @@ export default class CocktailShakerSort extends Sort {
|
||||
swapped = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Move the start point forward by one,
|
||||
// because the item at the start point is already in its correct position.
|
||||
start += 1;
|
||||
|
Loading…
Reference in New Issue
Block a user