Interactive Algorithm Visualizer
jasonpark.me
Interactive Algorithm Visualizer
1–10 of 10 posts
Re: Interactive Algorithm Visualizer
#2Re: Interactive Algorithm Visualizer
#3Re: Interactive Algorithm Visualizer
#4Selection Sort, for example, makes the algorithm look extremely (impossibly) good at first glance - O(n) - because it's not showing the majority of the steps.
Instead of
for (var j = i + 1; j
it has to be for (var j = i + 1; j
Bubble Sort has the same problem, as do Quicksort and Mergesort.Normally I wouldn't mind, but these examples are intended for beginners, and it might give them a false sense of time complexity for these basic algorithms.
Re: Interactive Algorithm Visualizer
#5Re: Interactive Algorithm Visualizer
#6Re: Interactive Algorithm Visualizer
#7Re: Interactive Algorithm Visualizer
#8The visualizer is really nice, the examples could use some work though. Selection Sort, for example, makes the algorithm look extremely (impossibly) good at first glance - O(n) - because it's not showing the majority of the steps. Instead of for (var j = i + 1; j it has to be for (var j = i + 1; j Bubble Sort has the same problem, as do Quicksort and Mergesort. Normally I wouldn't mind, but these examples are intende…
Re: Interactive Algorithm Visualizer
#9Great work! Reminds me of http://visualgo.net/
Re: Interactive Algorithm Visualizer
#10Great job.