3 ms·
If the *only* thing you need is to move along the list then pointers are probably the best answer. However, in my limited experience with such things I have al
by LorenPechtel 4y ago
If the *only* thing you need is to move along the list then pointers are probably the best answer.
However, in my limited experience with such things I have always found myself needing both walking around and a big-picture list of items. Thus I have always implemented such things as a list of elements and storing indexes rather than pointers.