If List
is a Vec
of Node
s, why would you create a linked list of references rather than simply storing List
-array indices in the prev
and next
fields of each Node
?
If List
is a Vec
of Node
s, why would you create a linked list of references rather than simply storing List
-array indices in the prev
and next
fields of each Node
?