java:
// Class to do MergeSort and QuickSort on int arrays and test them
public class MergeQuickSorts { // Create a main to test MergeSort and QuickSort for // three cases - Sorted Aray, Reverse Sorted Array, Random Array // Each array should be size 50 // For the sorted array use the entries 1, 2, 3......50 // For the reverse sorted array use the entries 50, 49, 48.....1 // For the random array use ints between 1 and 50 inclusive, duplicates allowed // For each of the 6 sorts print the array before and after the sort // and show clearly which sort is being done public static void main(String[] args) { }
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here