Skip to content

Visualize popular sorting algorithms in action with an interactive Python application using Matplotlib.

License

Notifications You must be signed in to change notification settings

Akram-abdl/PySort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySort

A Python project to visualize popular sorting algorithms using Matplotlib.

PySort

Table of Contents

Introduction

Sorting Algorithm Visualizer allows you to visualize the process of sorting an array using different sorting algorithms. This project uses Matplotlib to create dynamic bar charts that represent the elements being sorted.

Algorithms

The following sorting algorithms are currently supported:

  1. Bubble Sort
  2. Selection Sort
  3. Insertion Sort
  4. Merge Sort
  5. Quick Sort

Installation

To use Sorting Algorithm Visualizer, you'll need Python 3.6 or higher and Matplotlib. You can install Matplotlib using pip:

pip install matplotlib

If you haven't already, clone the repository:

git clone https://github.com/your_username/sorting-algorithm-visualizer.git cd sorting-algorithm-visualizer

Usage

To run Sorting Algorithm Visualizer, execute the main.py file:

python main.py

You'll be prompted to choose a sorting algorithm from the list. Enter the number corresponding to the desired algorithm, and the visualizer will display the sorting process in real-time.

Contributing

We welcome contributions to Sorting Algorithm Visualizer! If you'd like to contribute, you can:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Commit your changes and push to your fork.
  4. Create a pull request on the original repository.

License

This project is released under the MIT License.

About

Visualize popular sorting algorithms in action with an interactive Python application using Matplotlib.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages