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


Sorted list deletion


list delete( pq ) list pq; {if (pq==NULL) Error /*** Delete from empty PQ ***/; else return( pq->next ); };

C source (511.del.c)



© Addison-Wesley Publishing Co. Inc.