The document describes an implementation of merge sort in Java. It reads in an array of numbers, sorts the array using a recursive merge sort algorithm, and outputs the sorted array along with the number of comparisons made during the sort.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
27 views
Merge Sort
The document describes an implementation of merge sort in Java. It reads in an array of numbers, sorts the array using a recursive merge sort algorithm, and outputs the sorted array along with the number of comparisons made during the sort.