delete a node in singly linked list whose head is not known Get link Facebook X Pinterest Email Other Apps By Admin - March 14, 2011 Given a singly linked list whose head is not known ,you have to delete a given node. Get link Facebook X Pinterest Email Other Apps Comments Sandeep RepakulaMarch 14, 2011 at 10:28 PMcopy the contents of the next node to the given node and simply delete the next node.ReplyDeleteRepliesReplyAdminMarch 14, 2011 at 10:48 PM@sandeep what if the node that you want to delete is last node or if it is the only node....ReplyDeleteRepliesReplyAdd commentLoad more... Post a Comment
copy the contents of the next node to the given node and simply delete the next node.
ReplyDelete@sandeep what if the node that you want to delete is last node or if it is the only node....
ReplyDelete