Live data from Hacker News

Interactive Algorithm Visualizer

jasonpark.me

1–10 of 10 posts

Re: Interactive Algorithm Visualizer

#3
Interesting. I've been working on an interactive 3D algorithm/data structure visualizer (http://tiledtext.com/projects/avd), but was thinking of it more as a debugging tool than an educational aid. I like the catalog aspect here: would be nice to have one of these for every wikipedia algorithm page.

Re: Interactive Algorithm Visualizer

#4
The 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 intended for beginners, and it might give them a false sense of time complexity for these basic algorithms.

Re: Interactive Algorithm Visualizer

#8

The 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…

Raise an issue in case the author isn't reading here. https://github.com/parkjs814/AlgorithmVisualizer/issues