Skip to content

JakWai01/sorting-algorithms

Repository files navigation

Sorting Algorithms 💭

This repository contains the most common sorting algorithms.

Bubble Sort

This is the "easiest" of the provided algorithms. The complexity of this certain algorithm is O(n²). Read more: https://en.wikipedia.org/wiki/Bubble_sort

Merge Sort

This algorithm has the complexity O(n log(n)) and is the best sorting algorithm when you are comparing elements in the array. Read more: https://en.wikipedia.org/wiki/Merge_sort

Counting Sort

The most efficient of the provided algorithms is Counting Sort. The complexity of Counting Sort is O(n). The downside of this sorting algorithm is that the maximum element in the array needs to be smaller or equal to the maximum Array length. Read more: https://en.wikipedia.org/wiki/Counting_sort

About

Some of the most common sorting algorithms in C++, Go and python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published