Skip to content

carmen170796/AlgorithmVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Visualizer

Description

Sorting problems are really common in coding interviews. This project was built as a visual aid to learn about them and consolide their knowledge. Since there is a lot of sorting algorithms, only a few of them made it here. Those are: merge sort, quick sort, bubble sort and heap sort.

This app was built entirely with React

Challenges

Implementation of the algorithms in a way that the data could be translated to an animation.
For heap sort, the base for the implementation can be found here
For merge sort, you can find it here

Future Ideas

One can continue implementing more sorting algorithms like insertion sort, selection sort, etc.
Another fun idea would be to implement a input tag where you can choose the length of the array to sort and max and min values.

Steps for installing and running the project

  1. Clone this repo
  2. Run npm install
  3. Run npm start