Tuesday, September 25, 2007

Book Algorithms

We know the legend of Paul (Uncle, to some) Erdos and the Erdoslore of Book Proofs, proofs brilliant and perfect from The Book.

To an algorithmus, the question is, what are examples of Book Algorithms? Algorithms is a broad research area and it is hard for any one to select Book Algorithms or to even define one or elicit any consensus at a dinner table of algorithmii. In string matching algorithms, I think the suffix tree algorithm of Karkkainen and Sanders is an example. What about geometry, scheduling, graphs, approximate, random, online or other algorithms, data structures included?


Blogger Jeff Erickson said...

A few off the top of my head:

"Russian peasant" multiplication

Euclid's GCD algorithm

Boruvka's MST algorithm

Brepth-first search (uses a quack)

Cooley + Tukey's FFT

Dantzig's simplex algorithm

Knuth-Morris-Pratt string matching

Computational geometry: Clarkson-Shor randomized incremental construction; fractional cascading

Data structures: splay trees; treaps; van Emde Boas trees; cuckoo hashing

10:47 AM  
Blogger Inbok said...

Karkainen and Sanders's algorithm is about suffix arrays.

10:55 AM  
Anonymous Anonymous said...

Count my votes for FFT and cuckoo hashing.

10:56 AM  
Blogger MiP said...

A few in data structures, in no particular order:

* cuckoo hashing with variations (Bloomier filters, uniform hashing)

* Dynamic connectivity in O(lg^2 n) by Holm, de Lichtenberg, Thorup.

* LCA/RMQ in linear time and constant time.

* searching with wildcards (the simple algorithm in Cole, Gottlieb, Lewenstein)

* 1d range reporting in linear space and constant time [Alstrup, Brodal, Rauhe]

* 3d range reporting by Nekritch (only the simple existential version)

* approximate nearest neighbor in constant dimension [Chan]

1:36 PM  
Anonymous Anonymous said...

You mean perhaps:

E. Ukkonen. On-line construction of suffix trees. Algorithmica, 14(3):249–260,

Also I'll add the Fisher algorithm for computing majority on a string in one/two passes using a single counter.

Burrows-Wheeler is also amazingly effective as a compression algorithm. On the same vein Lempel-Ziv never ceases to amaze me. The coder and decoder fit in less than a page of code!

3:06 PM  
Blogger metoo said...

* Inbok: you are right of course, it is an algorithm for suffix sorting, I don't typically make internalize array/tree.

* Jeff: Not clear KMP or splay trees will make my list.

* MIP: LCA/RMQ is cool. Wildcard matching is phenomenally simple and cool.

* Yet another Anonymous: Burrows-Wheeler is a nifty algorithm, almost non-intuitive at first look. yes, I think it will make it to my list too.

9:45 PM  
Anonymous Paul said...

Which GCD algorithm? As much as I like Euclid's I might go for the variant with parity checks, subtraction and division by 2 rather than general division with remainder. The implementation of general division is relatively complicated.

Some algorithms to add:

Batcher's bitonic sort

Fischer-Ladner's parallel prefix algorithm

8:49 AM  
Anonymous Anonymous said...

Median of Five

M. Blum, R. Floyd, V. Pratt, R. Rivest, and R. Tarjan. Time bounds for selection. J. Computer and System Sciences, 7:448-461, 1972.

2:15 PM  
Blogger palenica said...

Steve Fortune's Voronoi diagram algorithm.

12:34 PM  
Anonymous OnlinePharmacy said...

qISO4M Your blog is great. Articles is interesting!

12:37 AM  
Anonymous difficult to find phentermine said...

bGgSjx Please write anything else!

11:00 AM  
Anonymous name said...

roMf6g actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

12:00 PM  
Anonymous buy meridia online order cheap meridia now buy said...

Thanks to author.

12:14 PM  
Anonymous christi corpus hotel motel said...


12:32 PM  
Anonymous name said...

Please write anything else!

12:11 PM  
Anonymous bus tour springfield ma said...


1:00 PM  
Anonymous cie bus tours said...

Hello all!

7:36 AM  
Anonymous do college loans require d said...

Nice Article.

11:10 PM  
Anonymous ringtones said...

Hello all!

2:23 AM  
Anonymous  said...

Wonderful blog.

6:17 AM  
Anonymous order cialis online said...

rCrDEX Please write anything else!

11:26 AM  
Anonymous free ringtones for lg env said...

Wonderful blog.

11:54 AM  
Anonymous asthma said...

black mold exposureblack mold symptoms of exposurewrought iron garden gatesiron garden gates find them herefine thin hair hairstylessearch hair styles for fine thin hairnight vision binocularsbuy night vision binocularslipitor reactionslipitor allergic reactionsluxury beach resort in the philippines

afordable beach resorts in the philippineshomeopathy for eczema.baby eczema.save big with great mineral makeup bargainsmineral makeup wholesalersprodam iphone Apple prodam iphone prahacect iphone manualmanual for P 168 iphonefero 52 binocularsnight vision Fero 52 binocularsThe best night vision binoculars here

night vision binoculars bargainsfree photo albums computer programsfree software to make photo albumsfree tax formsprintable tax forms for free craftmatic air bedcraftmatic air bed adjustable info hereboyd air bedboyd night air bed lowest pricefind air beds in wisconsinbest air beds in wisconsincloud air beds

best cloud inflatable air bedssealy air beds portableportables air bedsrv luggage racksaluminum made rv luggage racksair bed raisedbest form raised air bedsaircraft support equipmentsbest support equipments for aircraftsbed air informercialsbest informercials bed airmattress sized air beds

bestair bed mattress antique doorknobsantique doorknob identification tipsdvd player troubleshootingtroubleshooting with the dvd playerflat panel television lcd vs plasmaflat panel lcd television versus plasma pic the bestThe causes of economic recessionwhat are the causes of economic recessionadjustable bed air foam The best bed air foam

hoof prints antique equestrian printsantique hoof prints equestrian printsBuy air bedadjustablebuy the best adjustable air bedsair beds canadian storesCanadian stores for air beds

migraine causemigraine treatments floridaflorida headache clinicdrying dessicantair drying dessicantdessicant air dryerpediatric asthmaasthma specialistasthma children specialistcarpet cleaning dallas txcarpet cleaners dallascarpet cleaning dallas

1:06 PM  
Anonymous generic propecia said...

Hello people want to express my satisfaction with this blog very creative and I really like the views of the focus very good indeed Thank you for the helpful information. I hope you keep up the good work on making your blog a success!

9:32 AM  

Post a Comment

<< Home