Talk:Doubly-linked list/Element insertion: Difference between revisions

From Rosetta Code
Content added Content deleted
(Merge stuff?)
 
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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. --[[User:mwn3d|mwn3d]] 15:00, 12 November 2007
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. --[[User:mwn3d|mwn3d]] 15:00, 12 November 2007
: I agree. --[[User:IanOsgood|IanOsgood]] 16:32, 12 November 2007 (MST)
: No problem here. --[[User:Short Circuit|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?

Latest revision as of 13:10, 6 February 2010

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?