|
List->Dynamic List->Traversal |
||
| We have seen the static
list traversal and we mean the same here. Here, we will take an auxiliary
pointer, 'current', which will initially point to the beginning of the
list and will be moved to point to every other node in the list. Let's
see the algo. ....
Algorithm:- C implementation:- LLtraversal(struct NODE
*current) Note:-For traversal I have assumed that the list already exists and the list pointer, "list", is pointing to the beginning of the list. Related Operations: |
||
| Index || Doubts / Clarifications || Related Topics || Web Links | ||