Recently is not in the data structure, the tree before all learn well, learn tree, found the tree insert, delete, and change the value associated with the secondary pointer as a function parameter, this I can understand, but I suddenly thought of, what I am writing the chain bracelet stack, regardless of the insert to delete, is useless to the secondary pointer?? Then at some online code, and found that I was wrong, really is to use the secondary pointer to change specification values, however, is what before I useless secondary pointer (as a function parameter) is also OK? Then look at the others related to summarize, with the head pointer list without secondary pointer can also carry out chain operation (but he didn't explain why can need not,,,), so I want to ask,
CodePudding user response:
Has a head nodes that took their head to find the node you want, what will this secondary pointer, as for the list of what the secondary pointer with no love, truth, anyway the basic effect about