[Home]
[Contents]
[Chapter]
[Previous Algorithm]
[Next Algorithm]


Pagodas insertion (Pascal version available)


tree insert( new, pq ) tree new, pq; { new->left = new; new->right = new; return( merge( pq, new ) ); };

C source (515.ins.c) Pascal source (515.ins.p)



© Addison-Wesley Publishing Co. Inc.