itkrivoshei / SelectionSortAndVisualizer

Interactive visualization of the Selection Sort algorithm with integrated visual tests, designed for Replit.

Home Page:https://replit.com/@itkrivoshei/Selection-Sort

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SelectionSortVisualizer

A comprehensive Selection Sort implementation with integrated visual tests and a visualizer. Designed to work seamlessly on Replit.

Live Demo

Check out the live demo on Replit: Selection Sort Visualizer

Features

  • Visual representation of the Selection Sort algorithm.
  • Integrated visual tests for the sorting algorithm.
  • Dracula color palette for a pleasant user experience.
  • Fullscreen mode for better visualization.

Files

main.py

This is the main driver file that initializes the GUI and provides options to test the selection sort or visualize it. It uses matplotlib for the visualization.

selection_sort.py

Contains the core implementation of the selection sort algorithm.

test_selection_sort.py

Provides a set of tests for the selection sort algorithm and visualizes the test results using matplotlib.

visual_selection_sort.py

Visualizes the selection sort algorithm in action using tkinter.

How to Run

  1. Visit the Replit link.
  2. Click on the Run button.

Contributing

Feel free to fork the project and submit pull requests. All contributions are welcome!

License

This project is open-source and available under the MIT License.

About

Interactive visualization of the Selection Sort algorithm with integrated visual tests, designed for Replit.

https://replit.com/@itkrivoshei/Selection-Sort


Languages

Language:Python 97.8%Language:C 1.8%Language:Cython 0.4%Language:C++ 0.0%Language:Fortran 0.0%Language:Meson 0.0%Language:Nix 0.0%