Skip to content

Commit a65fca1

Browse files
authored
Update Question.java
careercup#191 - ( Ch 10 / Q 1 - Sorted Merge / Input demo array is not sorted)[careercup#191]
1 parent 59018cf commit a65fca1

File tree

1 file changed

+1
-1
lines changed
  • Java/Ch 10. Sorting and Searching/Q10_01_Sorted_Merge

1 file changed

+1
-1
lines changed

Java/Ch 10. Sorting and Searching/Q10_01_Sorted_Merge/Question.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static void merge(int[] a, int[] b, int countA, int countB) {
3131

3232
public static void main(String[] args) {
3333
int[] a = {2, 3, 4, 5, 6, 8, 10, 100, 0, 0, 0, 0, 0, 0};
34-
int[] b = {1, 4, 7, 6, 7, 7};
34+
int[] b = {1, 4, 6, 7, 7, 7};
3535
merge(a, b, 8, 6);
3636
System.out.println(AssortedMethods.arrayToString(a));
3737
}

0 commit comments

Comments
 (0)