Anonymous user
Doubly-linked list/Element definition: Difference between revisions
Doubly-linked list/Element definition (view source)
Revision as of 05:20, 28 August 2016
, 7 years agoadded whitespace before the TOC (table of contents), added a ;Task: (bold) header.
m (added whitespace before the TOC (table of contents), added a ;Task: (bold) header.) |
|||
Line 1:
{{task|Data Structures}}
Define the data structure for a [[Linked_List#Doubly-Linked_List|doubly-linked list]] element. The element should include a data member to hold its value and pointers to both the next element in the list and the previous element in the list. The pointers should be mutable.▼
;Task:
Define the data structure for a [[Linked_List#Doubly-Linked_List|doubly-linked list]] element.
▲
The pointers should be mutable.
{{Template:See also lists}}
<br><br>
=={{header|Ada}}==
<lang ada>type Link;
|