Skip to content

This project is a Python-based visualization tool that demonstrates various sorting algorithms. The program provides an interactive and intuitive way to understand the inner workings of popular sorting algorithms such as bubble sort, selection sort, merge sort, quicksort, and insertion sort.

Notifications You must be signed in to change notification settings

Dzenit110/Sorting-Algorithms-Visualization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SORTING ALGORITHMS VISUALIZER (PYTHON)

The project involves designing a sorting algorithm program. The sorting algorithms (Insertion Sort, Bubble Sort, Merge Sort, Quick Sort) are visually implemented based on the selected data structure.

DEVELOPMENT ENVIRONMENT

In this project, we used the programming language Python for the first time. We wrote the code for specific sorting algorithms using Visual Studio Code, along with the interface code in the same environment. We chose Visual Studio Code because it offers code debugger support, rich code refactoring features, and speed. The Visual Studio Code development platform supports a wide range of application development features such as controls, graphics, data binding, and user input, allowing us to comfortably create a desktop application using GUI libraries..

DEPLOYMENT AND OPERATION OF THE PROJECT

We made our project operational through Visual Studio Code, which enabled us to easily upload it to GitHub. The important aspect is that we used the Python programming language along with Tkinter, which is the Python wrapper for the Tk GUI toolkit. We wrote the code for the main panel and the bar panel of the sorting algorithms visualizer using its various widgets.

SAMPLE INTERFACE VISUALIZATION

Main Panel

1

Figure 1. User Interface of the Sorting Algorithms Visualizer

Starting the Sorting Algorithm

2

Figure 2. Starting point of the selected sorting algorithm and the number of comparisons

Running the Sorting Algorithm

4

Figure 3. Complexity analysis of the selected sorting algorithm

Displaying the Result of the Sorting Algorithm

3

🧰 Languages & Tools

Python     Visual Studio Code     Download

About

This project is a Python-based visualization tool that demonstrates various sorting algorithms. The program provides an interactive and intuitive way to understand the inner workings of popular sorting algorithms such as bubble sort, selection sort, merge sort, quicksort, and insertion sort.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%