Sorting algorithm in java
Initialize Merge sort and doing the sort.
int[] numbers = {3, 5, 7, 2, 44, 5, 0};
Sort mergeSort = new MergeSort();
mergeSort.sort(numbers);
- Bubble sort
- Insertion sort
- Selection sort
- Merge sort
- Quick sort
- Tim sort
- Radix sort
Clone and make change in App.java to test.
Test cases cover the following
- Bubble sort
- Insertion sort
- Selection sort
- Merge sort
- Quick sort
- Tim sort
- Radix sort
mvn test
Anyone can contribute to this project.
- Give same data to all types of sorting algorithm and calculate time difference
MIT