Doubly-linked list/Definition: Difference between revisions
J: make first example list use the same values as the second example, to place more emphasis on the ordering
(→{{header|zkl}}: bug fix) |
(J: make first example list use the same values as the second example, to place more emphasis on the ordering) |
||
Line 1,378:
So, first, here is a native J list:
list=: 2 3
To implement a doubly linked list, one could create a list of successor indices and another list of predecessor indices.
|