3 ms·
I've always thought that sorting algorithm visualisation could be done better in static images than animation. Here's a blog post on the topic I prepared earlie
by cortesi 18y ago
I've always thought that sorting algorithm visualisation could be done better in static images than animation. Here's a blog post on the topic I prepared earlier... ;)
http://www.hatfulofhollow.com/posts/code/visualisingsorting/index.html http://www.hatfulofhollow.com/posts/code/visualisingsorting/...
- slackenerny 18y agoThis is so much good of an idea. I remember seeing the exact same animations original poster linked to, no less than ten years ago. I recognize their visual form distincly, because of how they've set back my understanding when I was learning this stuff. There is no limit to pagerank you should receive for preparing this.
- Retric 18y agoWhat I like about the animated approach is showing insertion and bubble sorting beating the others on a nearly sorted set. It's not just a question of what's the best in average or worst case situations but also what format is your data starting out as. Edit: It's not that the other approach can't show the same information rather it takes up more space so it's harder to notice new relationships other than those directly shown.
- silentbicycle 18y agoFantastic post! Thanks for including the source you used to generate those, too. :)