This application allows choice between different List Sorting Algorithms through the Strategy Design Pattern for OO Programming.
Exploring Bubble Sort, Selection Sort, Insertion Sort, Merge Sort and Quick Sort, the system sorts a list of given integers choosing a different Strategy each time.
The system also outputs the time taken to execute the computation for each sorting algorithm.
Feel free to add any sorting algorithm implementation as:
new class NewSort implements SortingAlgorithm {
@Override
public ArrayList sort(ArrayList input) { ... }
@Override
public long executionTime() { ... }