Culture

I bring this up because it let's me tell you a nice little piece of CS culture.

The running time of a sequence of m JOINs (unions) and CONNECTEDs (finds) implemented this way on n objects is tex2html_wrap_inline249 .

Here, tex2html_wrap_inline251 is the pseudoinverse of Ackermann's function. It's basically the world's slowest growing function. It's almost impossible to imagine an x large enough so that tex2html_wrap_inline255 .

Big improvement over the tex2html_wrap_inline257 data structure I gave earlier! Linear, for all intents and purposes.


next up previous
Next: PRIM'S ALGORITHM Up: FAST UNION-FIND Previous: Clever Data Structure