I love the Graham scan algorithm for computing convex hulls of sets of points. That and the fast exponentiation algorithm, which can be used to compute linear recurrences (e.g. fibonacci) in O(log n) time.
Metropolis-Hastings (aka Markov chain Monte Carlo). Without this very simple (in principle) algorithm and its many descendants, much of modern applied Bayesian statistics would be impossible.
Comments (491) 209 threads
Earlier commentshttps://en.wikipedia.org/wiki/Point_in_polygon
https://en.wikipedia.org/wiki/Hungarian_algorithm
All comments shown.
Couldn't load more comments. Check your connection and try again.