Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Algorithm Visualizer (https://algorithm-visualizer.org)

89 points by vinhnx 4 days ago | 5 comments | View on ycombinator

anshik1998 9 minutes ago |

Love it. I also built a platform that works for any algorithm and problem based on call stack tracing. Works best for recursion, backtracking and dynamic programming problems. https://www.onenoughtone.com/visualizers

smusamashah about 1 hour ago |

I made an only sorting algo visualizer which runs same algo on many randomly sorted arrays at the same time. The swap call which actually does the sorting also does the drawing. You could draw whole array or just one swap.

It looks very cool on large arrays.

https://xosh.org/VisualizingSorts/sorting.html

https://xosh.org/sorting-algorithms-visual-comparison/

diyseguy about 6 hours ago |

Love it, thank you for this. The last one 'Shortest Unsorted Continuous Subarray' produced some errors: 'Cannot set properties of undefined (setting 'selected')

ranger_danger about 8 hours ago |

Very cool... wanted to check out the source but the only clue I could find to a source repo (the "Fork" button) does not work.