Quad trie search
search( key, t ) typekey key[K]; tree t; {int bn, i, indx; for ( bn=1; t != NULL && !IsData(t); bn++ ) { indx = 0; for (i=0; i
p[indx]; } if ( t != NULL ) for (i=0; i
k[i]; i++); if ( t==NULL || i < K ) notfound( key ); else found( t ); };
C
source (351b.srch.c)
©
Addison-Wesley
Publishing Co. Inc.