Are you sure that node is not exit in Link list and also memory is free? On Sun, Mar 13, 2011 at 9:57 AM, abhijith reddy <[email protected]>wrote:
> copy data from the next node and then delete that next node. > > Say you need to delete 3 > > 1 -> 2 -> 3 -> 4 -> 5 > > 1 -> 2 -> 4 -> 4 -> 5 > * > Now delete node which is next to '*'. > > > On Sun, Mar 13, 2011 at 10:23 PM, UMESH KUMAR <[email protected]>wrote: > >> hi >> >> Given a singly Link list but Head of the List is >> unknown so my question is that ................ >> >> How to delete a given node from the List??????????? >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
