Home > Back-end >  Self-study data structure for people
Self-study data structure for people

Time:04-08

This is the order table to remove a minimum element
As long as the code at the beginning is Del_Min can say is this delete function
But the textbook to delete function is ListDelet (& amp; L, I, & amp; E)
Why Del_Min can also delete said?
Data structure for self-study people thank you

CodePudding user response:

Del_Min () ListDelet (& amp; L, I, & amp; E) all of these is a function of the custom name, the name of the function, parameters and return values are different, such as function to realize the functions of different, said Del_Min table () function can delete function is to order a minimum value of elements, ListDelet (& amp; L, I, & amp; E) function possible function is to delete the order value of e element in the table, although the function of the specific function is different, but the big function is to remove a single element, so in order to facilitate memory and recognition, in the words they are all in the name of the del, so we can roughly judge from the name of the function is implemented by function, which is widely used in the process of writing code, of course, the custom is to write the name of the function theory, as long as the character is not the key system character, but the meaning is not big, the name of a random, over a period of time, forget yourself, want to use them, how also can not find,
  • Related