P
Paminu
I have a Linked-List and would like to create pointers to elements in this
list.
e.g I would like two pointers that point to each of their elements in the
Linked-List. But there should always be exactly 5 nodes between these
pointers.
Does this make any sense or are there some more efficient way to access
certain elements in a Linked-List?
list.
e.g I would like two pointers that point to each of their elements in the
Linked-List. But there should always be exactly 5 nodes between these
pointers.
Does this make any sense or are there some more efficient way to access
certain elements in a Linked-List?