TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

15 Sorting Algorithms in 6 Minutes

10 点作者 Pro_bity将近 12 年前

1 comment

ballard将近 12 年前
I don&#x27;t know what happened, but I got to level 21 somehow. :)<p>This is cool and handy for lecturers explaining sorting&#x2F;searching.<p>In practice: merge, insertion and dual pivot [1] &#x2F;single pivot quick(er)sort [2] are the usual tools in the toolbox, that like everything, depend on the specific use. Oh, and radix sort for rainbow tables.<p>On DPQS, there&#x27;s apparently a method for 1.8n ln n + O(n) [3]<p>References:<p><pre><code> 1. http:&#x2F;&#x2F;www.iaroslavski.narod.ru&#x2F;quicksort&#x2F;DualPivotQuicksort.pdf 2. The FlashSort Algorithm http:&#x2F;&#x2F;www.neubert.net&#x2F;FSOIntro.html 3. Optimal Partitioning for Dual Pivot Quicksort http:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;1303.5217 4. Algorithm 271: quickersort (1965) http:&#x2F;&#x2F;citeseerx.ist.psu.edu&#x2F;showciting?cid=846385 5. (and, of course) https:&#x2F;&#x2F;www.amazon.com&#x2F;Art-Computer-Programming-Volume-Searching&#x2F;dp&#x2F;0201896850 (same shrtnd) http:&#x2F;&#x2F;amzn.to&#x2F;134daLz</code></pre>
评论 #6138899 未加载