When the head pointer of a linked list is given, it is easy to delete any node in that linked list given a pointer to that node, by just browsing from head till that node. If no head pointer is given,then how to delete a node given just a pointer to that node? I've heard it is possible but don't know how.
Note that the linked list is a singly-linked one.
0 · ·