Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saddickq/sorting_algorithms
contains code for different sorting algorithms in C
https://github.com/saddickq/sorting_algorithms
Last synced: about 2 months ago
JSON representation
contains code for different sorting algorithms in C
- Host: GitHub
- URL: https://github.com/saddickq/sorting_algorithms
- Owner: Saddickq
- License: mit
- Created: 2023-07-23T14:42:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-30T17:44:37.000Z (over 1 year ago)
- Last Synced: 2023-08-03T23:58:27.911Z (over 1 year ago)
- Language: C
- Size: 21.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**0x1B. C - Sorting algorithms & Big O**
This repository contains code in C that illustrates some sorting algorithms
Examples of those algorithms are;
1. Bubble sort algorithm
2. Inserion sort algorithm
3. Selection sort algorithm
4. Quick sort algorithm
5. Merge sort algorithm
...This project also covers the time conplexities of these sorting algorithms.
Time complexities are:
1. O(1)
2. O(n)
3. O(n!)
4. n square -> O(n^2)
5. log(n) -> O(log(n))
6. n * log(n) -> O(nlog(n))
7. n + k -> O(n+k)
...