Skip to content

Anthony-Massaad/Algorithm-Visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm-Visualizer

Description

This repository is an implementation of an algorithm visualizer of: Merge sort, Insertion sort and Selection sort. The sorting list consist of 150 random values from 10-110 inclusive. The gui is implemented using pygame.

Preview

Befire Running After Running
image image

Instructions

To run the file, simply run main.py and select a sort of your choice. The button of selected sort will turn green and disable the other sorts until the selected sort is finished. As the sort is in progress, there is a time elapsing to indicate how long it takes to sort 150 elementts based on the sort selected.

Colors

For comparison of elements in the list, the line will change color to Red, while swapping the elements will turn Blue.

For merge sort specifically, on final merge, every element line will turn orange.

CREDITS

Authors: Anthony Massaad

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages