[   ^ to index...   |   <-- previous   ]

List variations


class ListWithHeaderInfo { publid: // ... private: int length; Node *head, *tail; }; class ListWithDummyNode { public: // ... private: Node head; }; // Node using "external data" class ListNode { Item * element; ListNode * next; }; // Doubly linked list node struct ListNode { int value; ListNode *next, *prev; }

Last modified: Wed Jul 12 19:32:27 PDT 2000