CSI-Research-Community / Sorting-Visualizer

A easy to use Sorting Visualizer Tool for Educational Use.
MIT License
0 stars 4 forks source link

Bubble Sort Algorithm Needs to be slowed down. #5

Open techieshouvik opened 3 years ago

techieshouvik commented 3 years ago

The algorithm for bubble Sort is running too fast. The Speed has to be slowed down using pauseComp() function.

Take Reference from other algorithms that have already been written.

Note : You do not need to make a new function of pauseComp() , it has already been made. It has already been called too. You just need to change the value inside pauseComp(x) to something like pauseComp(20);

Additional Instruction : Adjust the speed so that it matches that of remaining Algorithms,, by intuitive estimate