Radix cleanup (#47) · odingit/AlgorithmVisualizer@88914ec · GitHub
Skip to content

Commit 88914ec

Browse files
committed
Radix cleanup (algorithm-visualizer#47)
* Radix cleanup * Radix cleanup
1 parent 1806dae commit 88914ec

5 files changed

Lines changed: 12 additions & 12 deletions

File tree

algorithm/category.json

Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"<a href='https://en.wikipedia.org/wiki/Radix_sort'>Wikipedia</a>"
99
],
1010
"files": {
11-
"basic": "Basic"
11+
"lsd": "LSD Radix sort"
1212
}
1313
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ function pow(base, expo){
88
}
99
return ans;
1010
}
11-
for(var exp = 0; exp < 6;exp ++){
12-
tracer._print("Bit "+exp);
11+
for(var exp = 0; exp < 3;exp ++){
12+
tracer._print("Digit: "+exp);
1313
for(var i = 0; i < D[0].length; i++){
1414
tracer._select(0, i);
1515
D[2][ parseInt( D[0][i] / pow(10, exp) % 10) ] += 1;
Lines changed: 8 additions & 0 deletions

algorithm/sorting/radixlsd/basic/data.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)