TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Sorting algorithm visualisation (nice)

51 pointsby yogsotothalmost 15 years ago

6 comments

RiderOfGiraffesalmost 15 years ago
See also:<p><a href="http://news.ycombinator.com/item?id=1077521" rel="nofollow">http://news.ycombinator.com/item?id=1077521</a><p><a href="http://news.ycombinator.com/item?id=750858" rel="nofollow">http://news.ycombinator.com/item?id=750858</a><p><a href="http://news.ycombinator.com/item?id=730346" rel="nofollow">http://news.ycombinator.com/item?id=730346</a><p><a href="http://news.ycombinator.com/item?id=716870" rel="nofollow">http://news.ycombinator.com/item?id=716870</a><p><a href="http://news.ycombinator.com/item?id=555971" rel="nofollow">http://news.ycombinator.com/item?id=555971</a><p><a href="http://news.ycombinator.com/item?id=555549" rel="nofollow">http://news.ycombinator.com/item?id=555549</a>
评论 #1511948 未加载
erualmost 15 years ago
I have a real static visualization. I should put some pictures online. My visualization does not rely on in-place algorithms: There's a square of pixels n x n, if two items are compared by the algorithm the corresponding pixel turns black, otherwise it stays white.<p>The traces of mergesort, quicksort and so on are quit distinctive.
评论 #1513110 未加载
评论 #1512449 未加载
ggrotalmost 15 years ago
I'd prefer to see these where each step in the algorithm was a fixed width that is the same across all of the images. As-is the step width is dependent on the number of steps. This fails to show the speed of convergence.
vrodealmost 15 years ago
This is excellent. In my opinion, this is the way algorithm information should be presented. No abundant scientific formulations. Python works well as a pseudo-code substitute and visualizations are clear and intuitive.
评论 #1512147 未加载
评论 #1511987 未加载
wgjalmost 15 years ago
Along the same lines, but real-time animated for different data characteristics:<p><a href="http://www.sorting-algorithms.com/" rel="nofollow">http://www.sorting-algorithms.com/</a>
jchonphoenixalmost 15 years ago
I just took a brief glance, but these just look like standard sorting networks.
评论 #1512538 未加载