Talk:Doubly-linked list/Element insertion

From Rosetta Code
Revision as of 06:40, 2 January 2008 by 24.205.51.75 (talk) (Merre and python comments)

Should we merge the doubly-linked list pages together? It seems silly to have them apart like this. The same for the singly-linked list pages. --mwn3d 15:00, 12 November 2007

I agree. --IanOsgood 16:32, 12 November 2007 (MST)
No problem here. --Short Circuit 17:57, 12 November 2007 (MST)
Do both. Keep them separate so as to not overload the beginner, but add the data declaration to the insertion code.


The python example seems to be missing the assignment of B's prev pointer, but I don't know enough python to write it. Anyone want to fix it?