Skip to content

Commit 057d13a

Browse files
Added 2 colors to track left and right pointers for better visualization
1 parent 49483d6 commit 057d13a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/sorting/js/quick_sort.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ function quicksort(divs,height, l, r){
8181
}
8282

8383
export function quick(divs, height) {
84-
delay_time=30000/(Math.floor(n/30)*speed);
84+
delay_time=30000/(Math.floor(n/30)*speed);
85+
8586
quicksort(divs,height,0,height.length-1);
8687
}

0 commit comments

Comments
 (0)