Lurker News

Comments (491) 209 threads

Show all comments

Showing thread 87 of 209

blt#
Apirori algorithm for finding frequently occurring subsets in a set of sets of objects. I find the algorithm beautiful because:

1) It takes advantage of a simple insight: all frequent subsets must be unions of other subsets that are at least as frequent.
2) It uses a Trie data structure in a very beautiful way, traversing it in-order while searching for elements from a lexically sorted list of lexically sorted lists.