Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nunum/sorting-algorithms

Sorting Algorithms implemented in java with generic type
https://github.com/nunum/sorting-algorithms

bubble-sort generic insertion-sort java sorting-algorithms sorting-algorithms-implemented

Last synced: about 1 month ago
JSON representation

Sorting Algorithms implemented in java with generic type

Awesome Lists containing this project

README

        

# Sorting Algorithms
Sorting Algorithms implemented in java with generic type

## Algorithms implemented

* Insertion Sort

* Merge-Sort (recursive)

* Bubble Sort

* Quick Sort (recursive)

## Complexity

* Merge-Sort (n log(n))

* Quick Sort (n log(n))

* Bubble Sort ( O(n²))

* Insertion Sort (O(n²))

## Time to sort 50000 integer values

* Bubble Sort (15819 ms)

* Insertion Sort (1795 ms)

* Merge Sort (1436 ms)

* Quick Sort (151 ms)