RosettaCodeData/Task/Doubly-linked-list-Element-insertion/00DESCRIPTION

6 lines
430 B
Text
Raw Permalink Normal View History

2013-04-10 16:57:12 -07:00
Use the link structure defined in [[Doubly-Linked List (element)]] to define a procedure for inserting a link into a doubly-linked list. Call this procedure to insert element C into a list {A,B}, between elements A and B.
This is much like inserting into a [[Singly-Linked List (element insertion)|Singly-Linked List]], but with added assignments so that the backwards-pointing links remain correct.
2013-10-27 22:24:23 +00:00
{{Template:See also lists}}