Skip to content

Commit 51172f7

Browse files
authored
Update AdaptiveMergeSort.java
1 parent 520792b commit 51172f7

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/main/java/com/thealgorithms/sorts/AdaptiveMergeSort.java

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
package com.thealgorithms.sorts;
2-
2+
3+
public static void main(String[] args) {
4+
AdaptiveMergeSort adaptiveMergeSort = new AdaptiveMergeSort();
5+
-
6+
+
7+
// Integer Input
8+
Integer[] integers = {4, 23, 6, 78, 1, 54, 231, 9, 12};
9+
SortUtils.print(adaptiveMergeSort.sort(integers));
310
public class AdaptiveMergeSort implements SortAlgorithm {
411

512
@SuppressWarnings("unchecked")

0 commit comments

Comments
 (0)