Monthly Archives: December 2011

Cheap dummy head node

It is well known that adding a dummy head node can simplify the insertion and deletion on a linked list, by eliminating the need of special cases (For example: However, a dummy node uses extra memory, which is not … Continue reading

Posted in Programming | Leave a comment