Skip to content

Commit 072442c

Browse files
committed
MergeSort that sorts specified range into ascending order
1 parent cc482d3 commit 072442c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Merge_Sort/Java/rrivera1849/MergeSort.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ public class MergeSort {
77
/*
88
* Inputs:
99
* array - An array containing a sequence of integers.
10-
* start / end - Used to describe which sub-array of the main array we want to sort.
10+
* start / end - The range that you want to sort.
1111
*
1212
* Output:
13-
* Although the function is void the original array will be sorted from start to end.
13+
* Although the function is void the original array will be sorted in the specified range.
1414
*/
1515

1616
public static void mergeSort(int[] array, int start, int end){

0 commit comments

Comments
 (0)