3
Reply

How we find loop in Linked List?

Pramod Verma

Pramod Verma

10y
2.4k
0
Reply
    what a non-sense question
    http://www.geeksforgeeks.org/write-a-c-function-to-detect-loop-in-a-linked-list/http://seesharpconcepts.blogspot.in/2012/05/finding-loop-in-singly-linked-list-on.html
    LinkedList Name = new LinkedList();Name.AddLast("A");Name.AddLast("B");Name.AddLast("C");Name.AddLast("D");foreach (string str in Name){Response.Write(str); }