Skip to content

This application allows choice between different list sorting algorithms through the Strategy Design Pattern for OO Programming.

Notifications You must be signed in to change notification settings

zoozf/SortingAlgoritms

Repository files navigation

SortingAlgoritms

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() { ... }

About

This application allows choice between different list sorting algorithms through the Strategy Design Pattern for OO Programming.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages