Java program which allows the user to choose array size, sorting algorithm, worst, best or average case complexity. Based on the input, program will display the time consumption of the selected sorting algorithm.
This project has two java files
- BenchmarkingApp.java
- SortingAlgorithms.java
BenchmarkingApp.java file contains the code to interact with the user. It displays the menus and take the input from user and based on the input appropriate method is called to perform the task.
SortingAlgorithms.java file contains the code for the following sorting algorithms :-
- Bubble Sort
- Selection Sort
- Insertion Sort
- Quick Sort
- Merge Sort
- Heap Sort
- Shell Sort