CaN YOU TAKE ANY EXAMPLE ?
Floyd cycle Implementation
what type of example
it is just a cycle in a link list
Can you give any example ?
Like
1->2->3->4->5
Now in normal linklist after 5 there is null but in cyclic link list the 5 is connected to any of the previous number like 3
So there is no null and printing is infinite