Content-type: text/html Downes.ca ~ Stephen's Web ~ Sorting Algorithms Visualized

Stephen Downes

Knowledge, Learning, Community

Sorting Algorithms Visualized

Imgur, Oct 27, 2017

This is a really nice use of graphics to demonstrate concepts. You can see different sorting algorithms (bubble, cocktail shaker, insertion, shell, comb, etc.) applied to the sorting of coloured squares (each colour has its own numerical value, so it's easy). This allows you to get a visual sense of what the algorithms do and also to compare the methods. At the end of the post the different algorithms are raced against each other. It's Imgur, so the comments are mostly rude, but there was one nice link to a set of videos showing the same algorithms with both colours and sound. These all have different properties - some are faster, some use less memory, some are optimal for certain sorts of data. 

Today: 1 Total: 1391 [Direct link] [Share]


Stephen Downes Stephen Downes, Casselman, Canada
stephen@downes.ca

Copyright 2024
Last Updated: Apr 29, 2024 09:26 a.m.

Canadian Flag Creative Commons License.

Force:yes