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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

What do you think is the most beautiful algorithm?

7 点作者 itamarb大约 14 年前

6 条评论

rudiger大约 14 年前
Euclid's Algorithm [1]; it's one of the oldest algorithms still in use, simple, elegant, powerful, has lots of generalizations, many theoretical and practical applications...<p>[1] <a href="http://en.wikipedia.org/wiki/Euclidean_algorithm" rel="nofollow">http://en.wikipedia.org/wiki/Euclidean_algorithm</a>
rch大约 14 年前
Algorithm or equation? Either way, I'd suggest the Navier-Stokes system of equations, and associated numeric solutions.<p>Have a look at Chung's 'Computational Fluid Dynamics' (2010) via Google books:<p><a href="http://books.google.com/books?id=Cq6tqmMVJREC&#38;lpg=PP1&#38;ots=Hbb60cClyn&#38;dq=chungs%20computational%20fluid%20dynamics&#38;pg=PA55#v=onepage&#38;q=Navier-Stokes&#38;f=false" rel="nofollow">http://books.google.com/books?id=Cq6tqmMVJREC&#38;lpg=PP1&#3...</a>
评论 #2281062 未加载
sagacity大约 14 年前
Read <i>only</i> if you're up for a good laugh: ahem... <i>Bubble Sort!!</i> ;-)
HardyLeung大约 14 年前
Not sure about most beautiful, but Union-Find definitely is very clever, clean, and useful.
sebastianhoitz大约 14 年前
I really like AVL trees (or balanced trees) and the way they are restructured.
HowardRoark大约 14 年前
I think Binary search algorithm is very elegant.
评论 #2281317 未加载