Skip to content

Commit

Permalink
Update Q10_01_Sorted_Merge.cs
Browse files Browse the repository at this point in the history
Issue (careercup#17 - Ch 10 / Q 1 - Sorted Merge / Input demo array is not sorted)[careercup#17]
Main issue in CtCI-6th-Edition - (#191 - (Java && C#)/ Ch 10 / Q 1 - Sorted Merge / Input demo array is not sorted)[careercup/CtCI-6th-Edition#191]
  • Loading branch information
moudrick committed Jan 30, 2020
1 parent 5ce806d commit f1fab6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ch 10. Sorting and Searching/Q10_01_Sorted_Merge.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ private void Merge(int[] a, int[] b, int lastA, int lastB)
public override void Run()
{
int[] a = new int[] { 2, 3, 4, 5, 6, 8, 10, 100, 0, 0, 0, 0, 0, 0 };
int[] b = new int[] { 1, 4, 7, 6, 7, 7 };
int[] b = new int[] { 1, 4, 6, 7, 7, 7 };
Merge(a, b, 8, 6);
Console.WriteLine(AssortedMethods.ArrayToString(a));
}
}
}
}

0 comments on commit f1fab6e

Please sign in to comment.