https://github.com/saddickq/sorting_algorithms
contains code for different sorting algorithms in C
https://github.com/saddickq/sorting_algorithms
Last synced: 3 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-30T17:44:37.000Z (almost 2 years ago)
- Last Synced: 2025-01-31T19:35:36.149Z (5 months ago)
- Language: C
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
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)
...