Doubly-linked list/Element definition: Difference between revisions
Doubly-linked list/Element definition (view source)
Revision as of 16:24, 26 September 2020
, 3 years agoAdd Plain English
m (→{{header|Lua}}) |
(Add Plain English) |
||
Line 699:
P = P => back_pointer; /* P now points at the previous node. */
</lang>
=={{header|Plain English}}==
When you define a <code>thing</code>, you are defining a record as a doubly-linked list element. <code>next</code> and <code>previous</code> fields are implicitly added to the record that can be used to build and traverse a list.
<lang plainenglish>An element is a thing with a number.</lang>
=={{header|Pop11}}==
|