Hacker News new | ask | show | jobs
by vikramhaer 4145 days ago
It isn't really counting and choosing a winner though. It's an example of the gale-shapley algorithm for the stable marriage problem - http://en.wikipedia.org/wiki/Stable_marriage_problem