X
xz
From the perspective of data structure, I thought it should be esay to
scan a linked list. You simply scan from the head, and scan head-
However, for STL's list, I have not found a way to directly scan the
list.
So what can I do to scan a list from STL? Should I pop_front(), scan
it and push_back() it?
Or should I just choose another class?
scan a linked list. You simply scan from the head, and scan head-
successor, and scan the successor's successor and so on.
However, for STL's list, I have not found a way to directly scan the
list.
So what can I do to scan a list from STL? Should I pop_front(), scan
it and push_back() it?
Or should I just choose another class?