Back to front pageView on Hacker News (opens in a new tab)Ask HN: What's your favorite elegant/beautiful algorithm?733 pointsby algobuddy (on Hacker News)8 years agoComments (491) 209 threadsEarlier commentspg_bot8 years ago#The simplex algorithmhttps://en.wikipedia.org/wiki/Simplex_algorithmRVuRnvbM2e8 years ago#Fortune's algorithm for generating Voronoi diagrams from a set of points on a plane is a beautifully elegant algorithm with a unique visual component.Check the external links on the wikipedia page for an excellent implementation that you can run in your browser.https://en.wikipedia.org/wiki/Fortune%27s_algorithmanonytrary8 years ago#Perturbation theory[0] is an algorithmic way to find approximate solutions to problems you don't know how to solve. The idea is to perturb a known solution to a closely related problem. It is pivotal in quantum mechanics.[0] http://www.cmls.polytechnique.fr/perso/paul/6paul2.pdfaportnoy8 years ago#Any dynamic programming algorithm.Heap sort using an array impressed me as an undergrad.FFT continues to amaze me as a scientific programmer.Load more commentsAll comments shown.Couldn't load more comments. Check your connection and try again.
Ask HN: What's your favorite elegant/beautiful algorithm?733 pointsby algobuddy (on Hacker News)8 years ago
RVuRnvbM2e8 years ago#Fortune's algorithm for generating Voronoi diagrams from a set of points on a plane is a beautifully elegant algorithm with a unique visual component.Check the external links on the wikipedia page for an excellent implementation that you can run in your browser.https://en.wikipedia.org/wiki/Fortune%27s_algorithm
anonytrary8 years ago#Perturbation theory[0] is an algorithmic way to find approximate solutions to problems you don't know how to solve. The idea is to perturb a known solution to a closely related problem. It is pivotal in quantum mechanics.[0] http://www.cmls.polytechnique.fr/perso/paul/6paul2.pdf
aportnoy8 years ago#Any dynamic programming algorithm.Heap sort using an array impressed me as an undergrad.FFT continues to amaze me as a scientific programmer.
Comments (491) 209 threads
Earlier commentshttps://en.wikipedia.org/wiki/Simplex_algorithm
Check the external links on the wikipedia page for an excellent implementation that you can run in your browser.
https://en.wikipedia.org/wiki/Fortune%27s_algorithm
[0] http://www.cmls.polytechnique.fr/perso/paul/6paul2.pdf
Heap sort using an array impressed me as an undergrad.
FFT continues to amaze me as a scientific programmer.
All comments shown.
Couldn't load more comments. Check your connection and try again.