Git Product home page Git Product logo

sorting's Introduction

Sorting Algorithms Visualisation in Python

This project is part of our CSE 221 course at Egypt University of Informatics (EUI) This repository contains implementations of various sorting algorithms in Python. These algorithms are commonly used in computer science and are essential for understanding fundamental sorting concepts.

Algorithms Included

The repository currently includes the following sorting algorithms:

  • Bubble Sort
  • Bucket Sort
  • Comb Sort
  • Heap Sort
  • Insertion Sort
  • Merge Sort
  • Quicksort
  • Selection Sort

Each algorithm is implemented in a separate Python file in this repository.

Demo App

Streamlit App

Getting Started

To use the sorting algorithms in your own projects, follow these steps:

  1. Clone the repository to your local machine using the following command:

    git clone https://github.com/mohammed-alaa40123/sorting.git
    
  2. Navigate to the cloned repository:

    cd sorting
    
  3. Install the required Python packages by running:

pip install -r requirements.txt

Run the app using the following command:

streamlit run app.py
  1. Call the sorting function provided by the chosen algorithm, passing the array or list that you want to sort as the input.

  2. Run your Python program and observe the sorted output.

Contributing

Contributions are welcome! If you would like to contribute to this repository, please follow these guidelines:

  1. Fork the repository.

  2. Create a new branch for your feature or bug fix:

    git checkout -b my-feature
    
  3. Make your changes and commit them:

    git commit -m "Add new feature"
    
  4. Push your changes to your forked repository:

    git push origin my-feature
    
  5. Create a new pull request, explaining your changes and why they should be merged.

License

This repository is licensed under the MIT License. Feel free to use the code in this repository for educational or commercial purposes.

Contact

If you have any questions or suggestions regarding this repository, please feel free to open an issue or contact the repository owner.

Happy sorting!

sorting's People

Contributors

mohammed-alaa40123 avatar omarrwalid avatar zaradisht2003 avatar omarrushdy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.