The variable PTR points to the node currently being processed.
1. Set PTR : = START . [Initialize pointer PTR]
2. Repeat Steps 3 and 4 while PTR != NULL.
3. Apply PROCESS to INFO[PTR]
4. Set PTR : = LINK[PTR]. [PTR now points to the next node.]
[End of Step 2 Loop]
5. Exit.
0 comments:
Post a Comment