Singly-linked list/Element definition: Difference between revisions

Content added Content deleted
No edit summary
(specify mutability of link, since Singly-Linked List (element insertion) assumes it)
Line 1: Line 1:
{{task}}
{{task}}


Define the data structure for a [[singly-linked list]] element. Said an element should contain a data member capable of holding a numeric value.
Define the data structure for a [[singly-linked list]] element. Said element should contain a data member capable of holding a numeric value, and the link to the next element should be mutable.


==[[Ada]]==
==[[Ada]]==