Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ductnn/sorting_algorithm
A simple python application to visualize sorting algorithms.
https://github.com/ductnn/sorting_algorithm
python3 sorting-algorithms
Last synced: 1 day ago
JSON representation
A simple python application to visualize sorting algorithms.
- Host: GitHub
- URL: https://github.com/ductnn/sorting_algorithm
- Owner: ductnn
- License: mit
- Created: 2021-10-31T11:22:09.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-02T17:32:57.000Z (over 3 years ago)
- Last Synced: 2024-04-22T21:13:10.096Z (10 months ago)
- Topics: python3, sorting-algorithms
- Language: Python
- Homepage:
- Size: 2.83 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Visualize sorting algorithms
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://github.com/ductnn/sorting_algorithm/pulls) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
A simple python application to visualize sorting algorithms.
## Sort Algorithms
| Name | Function Name | O( ) |
| :-: | :-: | :-: |
| Bubble Sort | bubble_sort | O(n ^ 2) |
| Insertion Sort | insertion_sort | O(n ^ 2) |
| Quick Sort | quick_sort | O(nlog (n)) |
| Selection Sort | selection_sort | O(n ^ 2) |
| Merge Sort | merge_sort | O(nlog (n)) |
| ... | ... | ... |**...Updating...**
## Some figure
- Bubble sort
![]()
- Insertion sort
![]()
- Quick sort
![]()
- Selection sort
![]()
- Merge sort
![]()
## Installation
With `python`, from `source`:
```bash
git clone https://github.com/ductnn/sorting_algorithm.git
cd sorting_algorithm
pip3 install -r requirements.txt
```With `javascript`, **...Updating...**
## Usage
With `python`, follow `command`:
```bash
python3 visualize_python.py
```With `javascript`, **...Updating...**
## Contribution
All contributions are welcomed in this project!## License
The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.### Show your support
Give a ⭐ if you like this application ❤️