An open API service indexing awesome lists of open source software.

https://github.com/mahdimashayekhi-ai/sorting-algorithms

The Sorting Algorithms Repository showcases different sorting algorithms, offering valuable resources for learning and implementation in diverse applications. It's accessible to a wide range of audiences, with multiple languages and platforms available.
https://github.com/mahdimashayekhi-ai/sorting-algorithms

algorithms python sort sorting-algorithms

Last synced: about 2 months ago
JSON representation

The Sorting Algorithms Repository showcases different sorting algorithms, offering valuable resources for learning and implementation in diverse applications. It's accessible to a wide range of audiences, with multiple languages and platforms available.

Awesome Lists containing this project

README

        

# Sorting Algorithms Repository

πŸ“Œ **A comprehensive collection of sorting algorithms implemented in Java and Python.**
This repository serves as a learning resource and reference for understanding various sorting techniques with well-structured and optimized implementations.

## πŸš€ Algorithms Implemented

### πŸ”Ή Comparison-Based Sorting
- **Bubble Sort** 🫧
- **Selection Sort** βœ…
- **Insertion Sort** πŸ–ŠοΈ
- **Merge Sort** πŸ”€
- **Quick Sort** ⚑
- **Heap Sort** πŸ—οΈ
- **Shell Sort** 🐚

### πŸ”Ή Non-Comparison Sorting
- **Counting Sort** πŸ”’
- **Radix Sort** 🎯
- **Bucket Sort** πŸͺ£

## πŸ“‚ Project Structure

πŸ“¦ Sorting-Algorithms ┣ πŸ“‚ Java ┃ ┣ πŸ“œ BubbleSort.java ┃ ┣ πŸ“œ QuickSort.java ┃ β”— πŸ“œ ... ┣ πŸ“‚ Python ┃ ┣ πŸ“œ bubble_sort.py ┃ ┣ πŸ“œ quick_sort.py ┃ β”— πŸ“œ ... ┣ πŸ“œ README.md β”— πŸ“œ LICENSE

## πŸ› οΈ How to Run

### Java
```sh
cd Java
javac BubbleSort.java
java BubbleSort
```

### Python
```sh
cd Python
python bubble_sort.py
```

## πŸ“ Contribution
πŸ’‘ Contributions are welcome! If you’d like to add a new algorithm, improve existing code, or enhance documentation, feel free to open a pull request.

Fork the repo
Create a new branch
Implement your changes
Open a PR πŸš€

## πŸ“œ License
This project is licensed under the MIT License – see the LICENSE file for details.

⭐ If you find this repository useful, don’t forget to give it a star! 🌟