@Rahul The problem is to determine if there is a loop. That means there might not be. And if there isn't, you really shouldn't dump core. Don
On Aug 31, 10:17 pm, Siddhartha Banerjee <[email protected]> wrote: > how can head2->next be null in a linked list witha loop??? > i mean it would just go around in circles right??? -- 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.
