mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
Fix typo
This commit is contained in:
@ -20,7 +20,7 @@ function cycleSort (list) {
|
|||||||
position++
|
position++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// if its the same continue
|
// if it is the same, continue
|
||||||
if (position === cycleStart) {
|
if (position === cycleStart) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user