🌐 Live Demo Check Out
Sorting algorithms are the heart of computer science and data manipulation. Sorting Visualizer brings these algorithms to life through a visually interactive tool, helping users understand and analyze the behavior of some of the most popular sorting techniques.
🚀 Features
✨ Visualized Algorithms
This tool supports the visualization of the following sorting algorithms:
Quick Sort
A highly efficient, divide-and-conquer algorithm with average-case time complexity of O(n log n).
Learn how partitions are created and observe recursive sorting in action.
Merge Sort
A stable and efficient algorithm with guaranteed time complexity of O(n log n).
Watch how the array is divided, conquered, and merged step-by-step.
Bubble Sort
A simple yet educational algorithm with time complexity of O(n^2) in the worst case.
See how adjacent elements "bubble" into place through multiple passes.
Selection Sort
A straightforward algorithm with time complexity of O(n^2).
Observe how the smallest element is repeatedly selected and moved to its correct position.
🖼️ Screenshots
Include GIFs or images of your visualizer in action to give users a glimpse of the experience.
📂 Project Structure
SortingVisualizer/ ├── src/ │ ├── algorithms/ # Sorting algorithms implemented here │ ├── components/ # UI components │ ├── styles/ # CSS styles for the project ├── public/ # Static files ├── README.md # Project documentation ├── package.json # Dependencies and scripts
💻 Technologies Used
-HTML -CSS -JavaScript
⚙️ How to Run
Clone this repository:
git clone https://github.com/NAhmad231/SortingVisualizer.git
Navigate to the project directory:
cd SortingVisualizer
🎯 Goals of the Project
Educational Value: Help beginners and professionals alike understand how sorting algorithms work.
Interactive Learning: Provide an engaging way to experiment with different algorithms.
Code Quality: Emphasize readability, modularity, and reusability in the codebase.
🤝 Contributions
Contributions are welcome! If you'd like to enhance this project, feel free to:
Fork the repository.
Create a new branch for your feature:
git checkout -b feature-name
Commit your changes:
git commit -m "Add your feature description"
Push your branch:
git push origin feature-name
Create a pull request.
🌟 Feedback and Suggestions
If you have any ideas or suggestions to improve this project, feel free to reach out or open an issue in the repository. Your feedback is invaluable!
📧 Contact
Author: Nisha Ahmad
Email: [email protected]
LinkedIn: www.linkedin.com/in/nisha-ahmad
📜 License
This project is licensed under the MIT License. See the LICENSE file for details.
🙌 Acknowledgments
Thanks to all who inspired this project.
Special thanks to online resources, mentors, and the developer community for their support.