mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
@ -45,7 +45,7 @@ function flashSort(arr) {
|
|||||||
// permutation
|
// permutation
|
||||||
let move = 0, t, flash;
|
let move = 0, t, flash;
|
||||||
let j = 0;
|
let j = 0;
|
||||||
k = m - 1;
|
let k = m - 1;
|
||||||
|
|
||||||
while (move < (n - 1)) {
|
while (move < (n - 1)) {
|
||||||
while (j > (l[k] - 1)) {
|
while (j > (l[k] - 1)) {
|
||||||
|
Reference in New Issue
Block a user