8000 Arrays, collections and data structures · yogiprogram/Java-Coding-Problems@4635954 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4635954

Browse files
Arrays, collections and data structures
1 parent e4470b6 commit 4635954

File tree

1 file changed

+1
-1
lines changed
  • Chapter05/P99_SortArray/src/modern/challenge

1 file changed

+1
-1
lines changed

Chapter05/P99_SortArray/src/modern/challenge/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public int compare(Melon melon1, Melon melon2) {
151151
System.out.println("\nSorting numbers ...");
152152
int[] cloneIntegersBks = integers.clone();
153153
long startTimeV13 = clock.millis();
154-
ArraySorts.bucketSort(cloneIntegersBks);
154+
ArraySorts.bucketSortSG(cloneIntegersBks); // or call bucketSortSSG()
155155
displayExecutionTime(clock.millis() - startTimeV13);
156156
displayIntSortedArray(cloneIntegersBks);
157157

0 commit comments

Comments
 (0)
0