2 ms·
He could write his own link list template that only worked with LinkedListNode objects; anything you want to put in the list must inherit from LinkedListNode,
by prewett 11y ago
He could write his own link list template that only worked with LinkedListNode objects; anything you want to put in the list must inherit from LinkedListNode, which would keep the next/prev pointers. Seems like that would be the best of both worlds.