News for hackers. Stuff that matters.
Re:What do you think is the most beautiful algorithm? by rudiger on Wednesday March 02, 2011 @12:38PM (#2280338)
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...

[1] http://en.wikipedia.org/wiki/Euclidean_algorithm

Re:What do you think is the most beautiful algorithm? by rch on Wednesday March 02, 2011 @12:42PM (#2280362)
Algorithm or equation? Either way, I'd suggest the Navier-Stokes system of equations, and associated numeric solutions.

Have a look at Chung's 'Computational Fluid Dynamics' (2010) via Google books:

http://books.google.com/books?id=Cq6tqmMVJREC&lpg=PP1...

Re:What do you think is the most beautiful algorithm? by itamarb on Wednesday March 02, 2011 @03:09PM (#2281062)
by beatiful, I meant an algorithm that it is simple, easy to understand and still has an intelligent solution. I'm not sure that algorithm in computiational fluid dynamics feat...
Re:What do you think is the most beautiful algorithm? by rch on Thursday March 03, 2011 @11:44AM (#2284670)
Those terms, simple and easy, should be taken as relative to the system being described.

I would argue that CFD models are surprisingly simple relative to the task of understanding multi-phase, particle-laden, turbulent fluids.

Re:What do you think is the most beautiful algorithm? by sagacity on Wednesday March 02, 2011 @01:15PM (#2280514)
Read only if you're up for a good laugh: ahem... Bubble Sort!! ;-)
Re:What do you think is the most beautiful algorithm? by HardyLeung on Wednesday March 02, 2011 @04:27PM (#2281408)
Not sure about most beautiful, but Union-Find definitely is very clever, clean, and useful.
Re:What do you think is the most beautiful algorithm? by sebastianhoitz on Thursday March 03, 2011 @10:35AM (#2284388)
I really like AVL trees (or balanced trees) and the way they are restructured.
Re:What do you think is the most beautiful algorithm? by HowardRoark on Wednesday March 02, 2011 @01:45PM (#2280643)
I think Binary search algorithm is very elegant.
Re:What do you think is the most beautiful algorithm? by rjrodger on Wednesday March 02, 2011 @04:06PM (#2281317)