4 ms·
At the end of the function curr == entry, so the caller already has a separate reference to the object. Also, removing a node from a list does not necessarily m
by nemetroid 6y ago
At the end of the function curr == entry, so the caller already has a separate reference to the object. Also, removing a node from a list does not necessarily mean that you want to delete it. For example, you might want to put it in a different list.