News for hackers. Stuff that matters.
Re:Ask HN: What is your favourite algorithm? by Rickasaurus on Friday September 06, 2013 @02:00PM (#6341722)
Gale–Shapley algorithm (for the stable marriages problem) http://en.wikipedia.org/wiki/Stable_marriage_problem

It's a beautifully simple algorithm with uses in almost every field.

Here's a more informative link http://cse331.wordpress.com/2009/09/11/lect-4-gale-shapley-a...

There are no comments on this comment yet.