I used to be a TA and students always struggled to visualize sorting. So I built a tool to show exactly how they work!

Posted by iGotYourPistola@reddit | learnprogramming | View on Reddit | 8 comments

https://starikov.co/sorting-algorithms/

When I was a Teacher Assistant for an Intro to CS class, I noticed that a lot of students struggled to grasp the "personality" of different sorting algorithms just by looking at code. It’s one thing to memorize that Quicksort is O(n log n), but it’s another thing to actually see how it partitions an array compared to how Bubble sort slowly crawls to the finish line.

I was inspired by an old terminal-based visualizer I saw years ago, so I decided to build a modern web version to help people visualize these concepts. I ended up writing a comprehensive guide covering 25 different algorithms, including: