Regarding: delete a node from a linked list algorithm,in procedural languages with garbage-collection. Should there be a step in the algorithm, of setting the removed-node-next-pointer to null ?
(Several high-school-CS-teachers in my area teach YES, while others teach NO)
What is the right approach?
/thanks ran