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
(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 4 5 7 11
 
To implement a doubly linked list, one could create a list of successor indices and another list of predecessor indices.
6,962

edits